Index: openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql	27 Oct 2014 16:40:55 -0000	1.9
+++ openacs-4/packages/assessment/sql/oracle/assessment-actions-package-create.sql	3 Sep 2024 15:37:35 -0000	1.10
@@ -181,7 +181,7 @@
 	name		=>	'Add to Community',
 	description	=>	'Add user to a community',
 	tcl_code	=>	'set user_id [ad_conn user_id]
-if { [exists_and_not_null subject_id] } {
+if { [info exists subject_id] && $subject_id ne "" } {
 	set user_id $subject_id
 }
 dotlrn_privacy::set_user_guest_p -user_id $user_id -value "t"
