Index: openacs-4/packages/xotcl-request-monitor/www/running.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-request-monitor/www/running.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/xotcl-request-monitor/www/running.tcl 12 Sep 2008 20:12:08 -0000 1.4 +++ openacs-4/packages/xotcl-request-monitor/www/running.tcl 16 Sep 2008 09:32:59 -0000 1.5 @@ -19,7 +19,11 @@ } set running_requests [throttle running] -set background_requests [bgdelivery running] +if {[info command bgdelivery] ne ""} { + set background_requests [bgdelivery running] +} else { + set background_requests [list] +} set nr_bg [expr {[llength $background_requests]/2}] set nr_req [expr {[llength $running_requests]/2}] set title "Currently Running Requests ($nr_req/$nr_bg)"