Index: openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl,v diff -u -r1.47.2.8 -r1.47.2.9 --- openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl 15 Feb 2022 17:10:05 -0000 1.47.2.8 +++ openacs-4/packages/acs-tcl/tcl/acs-permissions-procs.tcl 18 Feb 2022 09:42:51 -0000 1.47.2.9 @@ -162,7 +162,7 @@ # We have a per-request cache here return [acs::per_request_cache eval -key acs-tcl.permission_p__cache-$party_id,$object_id,$privilege { db_string select_permission_p { - select acs_permission.permission_p(:object_id, :party_id, :privilege) from dual + select cast(acs_permission.permission_p(:object_id, :party_id, :privilege) as integer) from dual } }] }