aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/c13y_upgrade
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-07-03 12:22:58 +0000
committernikrou <nikrou@piwigo.org>2010-07-03 12:22:58 +0000
commit6656dfb06aaf3d2b0da7625680bb033d4bdf3856 (patch)
tree75e25a80cf9c9c90b6fbc00f19561083c7eb8989 /plugins/c13y_upgrade
parentb83df6be6877b167571c68dc71765cd4f979e9e9 (diff)
Bug 1755 fixed : Needs single quotes in queries official plugins
Merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6655 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/c13y_upgrade')
-rw-r--r--plugins/c13y_upgrade/initialize.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/c13y_upgrade/initialize.inc.php b/plugins/c13y_upgrade/initialize.inc.php
index 768643a70..00effd05e 100644
--- a/plugins/c13y_upgrade/initialize.inc.php
+++ b/plugins/c13y_upgrade/initialize.inc.php
@@ -47,7 +47,7 @@ where
group by
upper('.$conf['user_fields']['email'].')
having count(*) > 1
-limit 0,1
+limit 1
;';
if (pwg_db_fetch_row(pwg_query($query)))