Index: openacs-4/packages/acs-templating/tcl/paginator-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/paginator-procs.tcl,v diff -u -r1.21 -r1.22 --- openacs-4/packages/acs-templating/tcl/paginator-procs.tcl 27 Apr 2015 15:28:18 -0000 1.21 +++ openacs-4/packages/acs-templating/tcl/paginator-procs.tcl 22 Jun 2015 21:03:13 -0000 1.22 @@ -117,12 +117,13 @@ # recommended. Unfortunately, several places in OpenACS have this # problem. # - if { ($row_ids eq {} && ![::cache exists $cache_key]) || ([info exists opts(flush_p)] && $opts(flush_p) == "t") } { + if { ($row_ids eq {} && ![::cache exists $cache_key]) + || ([info exists opts(flush_p)] && $opts(flush_p) == "t") } { if { [info exists opts(printing_prefs)] && $opts(printing_prefs) ne "" } { set title [lindex $opts(printing_prefs) 0] set stylesheet [lindex $opts(printing_prefs) 1] if { $stylesheet ne "" } { - set css_link "" + set css_link [subst {}] } else { set css_link "" } @@ -159,15 +160,14 @@ #if { [llength $opts(row_ids)]==0 } { # nsv_set __template_cache_timeout $cache_key $opts(timeout) #} - ns_write " - - " + + }] } ad_script_abort } else {