Index: openacs-4/packages/imsld/tcl/imsld-condition-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/imsld/tcl/imsld-condition-procs.tcl,v diff -u -N -r1.26 -r1.27 --- openacs-4/packages/imsld/tcl/imsld-condition-procs.tcl 17 Jun 2009 08:00:01 -0000 1.26 +++ openacs-4/packages/imsld/tcl/imsld-condition-procs.tcl 29 Oct 2009 11:09:59 -0000 1.27 @@ -646,12 +646,11 @@ set user_id [ad_conn user_id] } ns_log Notice "statement::execute with user_id: $user_id" - foreach executeNode $statement { switch -- [$executeNode localName] { {show} { foreach refNodes [$executeNode childNodes] { - switch -- [$refNodes localName] { + switch -- [$refNodes localName] { {class} { set class [$refNodes getAttribute class ""] set title [$refNodes getAttribute title ""] @@ -668,8 +667,8 @@ {environment-ref} { # the environments doesn't have any isvisible attribute, # so we have to 'show' all the referenced elements - imsld::runtime::environment::show_hide -run_id $run_id -identifier [$refNodes getAttribute "ref"] \ - -action "show" + imsld::runtime::environment::show_hide -run_id $run_id -identifier [$refNodes getAttribute "ref"] \ + -action "show" -user_id $user_id } {activity-structure-ref} { imsld::runtime::activity_structure::show_hide -run_id $run_id -identifier [$refNodes getAttribute "ref"] \ @@ -718,7 +717,7 @@ # the environments doesn't have any isvisible attribute, # so we have to 'hide' all the referenced elements imsld::runtime::environment::show_hide -run_id $run_id -identifier [$refNodes getAttribute "ref"] \ - -action "hide" + -action "hide" -user_id $user_id } {activity-structure-ref} { imsld::runtime::activity_structure::show_hide -run_id $run_id -identifier [$refNodes getAttribute "ref"] \