Index: openacs-4/packages/acs-tcl/tcl/security-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/security-procs.tcl,v diff -u -r1.74.2.1 -r1.74.2.2 --- openacs-4/packages/acs-tcl/tcl/security-procs.tcl 16 Aug 2013 18:57:26 -0000 1.74.2.1 +++ openacs-4/packages/acs-tcl/tcl/security-procs.tcl 7 Sep 2013 08:37:59 -0000 1.74.2.2 @@ -1414,7 +1414,7 @@ @see ad_conn } { - set session_user_id [ad_get_user_id] + set session_user_id [ad_conn user_id] if {$session_user_id == 0} { # viewer of this page isn't logged in, only show stuff # that is extremely unprivate