aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/c13y_upgrade
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-06-09 09:57:57 +0000
committernikrou <nikrou@piwigo.org>2010-06-09 09:57:57 +0000
commita9774635bdfb6e743c11205ec472d5483791614b (patch)
tree9f90b565499abb9698e08f899beacd337db4aa96 /plugins/c13y_upgrade
parent47847a2dd49debdf39ded99dd42d1c716aec63a8 (diff)
Bug 1716 fixed : SQLite: Check upgrades failed in intro
Incorrect use of dependant database function Fixed same problem in ws functions merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6501 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/c13y_upgrade/initialize.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/c13y_upgrade/initialize.inc.php b/plugins/c13y_upgrade/initialize.inc.php
index 6572aedf4..a3b380dc7 100644
--- a/plugins/c13y_upgrade/initialize.inc.php
+++ b/plugins/c13y_upgrade/initialize.inc.php
@@ -50,7 +50,7 @@ having count(*) > 1
limit 0,1
;';
- if (mysql_fetch_array(pwg_query($query)))
+ if (pwg_db_fetch_array(pwg_query($query)))
{
$to_deactivate = false;
$c13y->add_anomaly(
@@ -80,7 +80,7 @@ where
;';
$result = pwg_query($query);
- while ($row = mysql_fetch_assoc($result))
+ while ($row = pwg_db_fetch_assoc($result))
{
$to_deactivate = false;