projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1f4d90
)
Add missing ILIKE in previous patch
author
Alain Peyrat
<aljeux@free.fr>
Thu, 26 Feb 2009 17:42:12 +0000
(17:42 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Thu, 26 Feb 2009 17:42:12 +0000
(17:42 +0000)
gforge/common/include/User.class.php
patch
|
blob
|
history
diff --git
a/gforge/common/include/User.class.php
b/gforge/common/include/User.class.php
index b2e056cff79a3dd6a3330c49a5dd4517b4bcdf5d..5a0c257a71cdf76efeba7742801c3080a74a79f6 100644
(file)
--- a/
gforge/common/include/User.class.php
+++ b/
gforge/common/include/User.class.php
@@
-262,7
+262,7
@@
class GFUser extends Error {
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
I
LIKE '$email'")) > 0) {
$this->setError(_('User with this email already exists - use people search to recover your login.'));
return false;
}