diff options
author | rub <rub@piwigo.org> | 2007-10-12 22:14:23 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-10-12 22:14:23 +0000 |
commit | 608c174245ed8825366e40254e93bd57f777356d (patch) | |
tree | df0953bb7fa52b83be3c390b6ed19f5f8ebfdf44 /plugins/c13y_upgrade | |
parent | 4afa14cc8d3f26f841c92b083355004251d75087 (diff) |
Replace htmlentities by htmlspecialchars on NBM in order to send a correct UTF8 mail.
Quote mail charset + add debug mail informations
Fix "check user with same mail" where null email was not discarded
git-svn-id: http://piwigo.org/svn/trunk@2136 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/c13y_upgrade')
-rw-r--r-- | plugins/c13y_upgrade/initialize.inc.php | 1 |
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
|