Index: openacs-4/packages/dotlrn/www/user-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/user-add.tcl,v diff -u -r1.18 -r1.19 --- openacs-4/packages/dotlrn/www/user-add.tcl 23 May 2002 02:02:27 -0000 1.18 +++ openacs-4/packages/dotlrn/www/user-add.tcl 24 May 2002 00:26:06 -0000 1.19 @@ -119,7 +119,7 @@ db_transaction { - if {[cc_email_from_party $target_user_id] != 0} { + if {[cc_email_from_party $target_user_id] == 0} { # create the ACS user set password [ad_generate_random_string] set target_user_id [ad_user_new $email $first_names $last_name $password "" "" "" "t" "approved" $target_user_id]