Index: openacs-4/packages/bug-tracker/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/index.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/bug-tracker/www/index.tcl 20 Sep 2002 13:40:46 -0000 1.11 +++ openacs-4/packages/bug-tracker/www/index.tcl 9 Dec 2002 21:24:22 -0000 1.12 @@ -37,11 +37,6 @@ set num_bugs [db_string num_bugs { select count(bug_id) from bt_bugs where project_id = :package_id }] -if { $num_bugs == 0 } { - ad_return_template "no-bugs" - return -} - set user_id [ad_conn user_id] # Notifications for a project. Provide a link for logged in users @@ -51,6 +46,11 @@ -url $return_url \ -pretty_name "project"] +if { $num_bugs == 0 } { + ad_return_template "no-bugs" + return +} + # # Filter management #