Index: openacs-4/packages/acs-tcl/tcl/apm-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-procs.tcl,v diff -u -N -r1.114.2.36 -r1.114.2.37 --- openacs-4/packages/acs-tcl/tcl/apm-procs.tcl 18 Nov 2021 19:56:15 -0000 1.114.2.36 +++ openacs-4/packages/acs-tcl/tcl/apm-procs.tcl 5 Dec 2021 15:42:03 -0000 1.114.2.37 @@ -1022,7 +1022,7 @@ Returns 1 if there is an installed package version corresponding to the package_key, 0 otherwise. Uses a cached value for performance. } { - acs::try_cache ::acs::misc_cache apm_package_installed-$package_key { + acs::try_cache ::acs::misc_cache eval apm_package_installed-$package_key { db_0or1row apm_package_installed_p { select 1 from apm_package_versions where package_key = :package_key @@ -1037,7 +1037,7 @@ Returns 1 if there is an enabled package version corresponding to the package_key and 0 otherwise. } { - acs::try_cache ::acs::misc_cache apm_package_enabled-$package_key { + acs::try_cache ::acs::misc_cache eval apm_package_enabled-$package_key { db_0or1row apm_package_enabled_p { select 1 from apm_package_versions where package_key = :package_key