From a629994ea9178bfcf89795d474b07bd63bd49641 Mon Sep 17 00:00:00 2001 From: nikrou Date: Wed, 9 Jun 2010 09:55:54 +0000 Subject: Bug 1716 fixed : Check upgrades failed in intro Incorrect use of database dependant functions. Fixed same problem for ws functions git-svn-id: http://piwigo.org/svn/trunk@6500 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/c13y_upgrade/initialize.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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; -- cgit v1.2.3