[Fusionforge-commits] r7076 - trunk/gforge/common/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Feb 26 18:42:12 CET 2009


Author: aljeux
Date: 2009-02-26 18:42:12 +0100 (Thu, 26 Feb 2009)
New Revision: 7076

Modified:
   trunk/gforge/common/include/User.class.php
Log:
Add missing ILIKE in previous patch

Modified: trunk/gforge/common/include/User.class.php
===================================================================
--- trunk/gforge/common/include/User.class.php	2009-02-26 17:42:06 UTC (rev 7075)
+++ trunk/gforge/common/include/User.class.php	2009-02-26 17:42:12 UTC (rev 7076)
@@ -262,7 +262,7 @@
 			return false;
 		}
 		if ($GLOBALS['sys_require_unique_email']) {
-			if (db_numrows(db_query("SELECT user_id FROM users WHERE email ILIKE '$email' OR email_new LIKE '$email'")) > 0) {
+			if (db_numrows(db_query("SELECT user_id FROM users WHERE email ILIKE '$email' OR email_new ILIKE '$email'")) > 0) {
 				$this->setError(_('User with this email already exists - use people search to recover your login.'));
 				return false;
 			}




More information about the Fusionforge-commits mailing list