Index: openacs-4/packages/latest/www/menu.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/latest/www/menu.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/latest/www/menu.tcl 13 Jul 2006 03:16:39 -0000 1.1 +++ openacs-4/packages/latest/www/menu.tcl 17 Nov 2006 19:04:05 -0000 1.2 @@ -5,6 +5,9 @@ @creation-date 24-03-2006 } { +{ itemId "" } +{ object "" } +{ newURL ""} } -properties { } -validate { } -errors { @@ -55,6 +58,11 @@ latest::forums -pkgs_ids $pkgs_ids latest::fs -pkgs_ids $pkgs_ids latest::asm -pkgs_ids $pkgs_ids - latest::lors -pkgs_ids $pkgs_ids + + # check is lors is installed, if its not, then do nothing. + set is_lors [db_0or1row check_lors "select package_key, pretty_name, installed_p from apm_package_version_info where package_key = 'lors'"] + + if {$is_lors == 1} { + latest::lors -pkgs_ids $pkgs_ids } }