Index: openacs-4/packages/acs-templating/tcl/head-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/head-procs.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/acs-templating/tcl/head-procs.tcl 4 Jan 2008 21:46:36 -0000 1.6 +++ openacs-4/packages/acs-templating/tcl/head-procs.tcl 5 Jan 2008 14:59:07 -0000 1.7 @@ -560,11 +560,8 @@ set params [lindex $header_list 2] if {$type eq "literal"} { append header $src - } elseif {$type eq "include"} { - set adp_html [template::adp_include $src $params] - if {$adp_html ne ""} { - append header $adp_html - } + } else { + set header [template::adp_include $src $params] } } unset headers @@ -588,12 +585,10 @@ if {$type eq "literal"} { append footer $src } else { - set adp_html [template::adp_include $src $params] - if {$adp_html ne ""} { - append footer $adp_html - } + append footer [template::adp_include $src $params] } } unset footers } -} \ No newline at end of file +} +