Index: openacs-4/packages/openacs-default-theme/lib/plain-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/openacs-default-theme/lib/plain-master.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/openacs-default-theme/lib/plain-master.tcl 1 Jun 2008 19:19:26 -0000 1.2 +++ openacs-4/packages/openacs-default-theme/lib/plain-master.tcl 26 Nov 2008 20:10:10 -0000 1.3 @@ -15,6 +15,7 @@ $Id$ } +ns_log Notice "Huh? here I am!" if { ![info exists main_content_p] } { set main_content_p 1 @@ -42,10 +43,12 @@ # horizontal tabs by default) # if { [template::multirow exists navigation] } { + if { ![info exists navigation_groups] } { + set navigation_groups [list] + } for {set i 1} {$i <= [template::multirow size navigation]} {incr i} { template::multirow get navigation $i - if {![info exists navigation_groups] || - [lsearch -exact $navigation_groups $navigation(group)] < 0} { + if { [lsearch -exact $navigation_groups $navigation(group)] < 0} { lappend navigation_groups $navigation(group) } }