Index: openacs-4/packages/acs-admin/www/users/user-batch-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/users/user-batch-add-2.tcl,v diff -u -r1.7.2.2 -r1.7.2.3 --- openacs-4/packages/acs-admin/www/users/user-batch-add-2.tcl 18 Sep 2015 07:39:04 -0000 1.7.2.2 +++ openacs-4/packages/acs-admin/www/users/user-batch-add-2.tcl 2 Jan 2016 21:14:10 -0000 1.7.2.3 @@ -35,8 +35,11 @@ append exception_text "
  • Couldn't find a valid email address in ($row).
  • \n" continue } else { - set email_count [db_string unused "select count(email) -from parties where email = lower(:email)"] + set email_count [db_string unused { + select count(email) + from parties + where email = lower(:email) + }] if {$email_count > 0} { append exception_text "
  • $email was already in the database.
  • \n"