aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/c13y_upgrade/initialize.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/c13y_upgrade/initialize.inc.php')
-rw-r--r--plugins/c13y_upgrade/initialize.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/c13y_upgrade/initialize.inc.php b/plugins/c13y_upgrade/initialize.inc.php
index df53d01db..7cb3f7191 100644
--- a/plugins/c13y_upgrade/initialize.inc.php
+++ b/plugins/c13y_upgrade/initialize.inc.php
@@ -43,6 +43,7 @@ function c13y_upgrade($c13y_array)
$query = '
select count(*)
from '.USERS_TABLE.'
+where '.$conf['user_fields']['email'].' is not null
group by upper('.$conf['user_fields']['email'].')
having count(*) > 1
limit 0,1