aboutsummaryrefslogtreecommitdiffstats
path: root/install/db/8-database.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/8-database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/db/8-database.php b/install/db/8-database.php
index 3f859a7e6..de742dcf7 100644
--- a/install/db/8-database.php
+++ b/install/db/8-database.php
@@ -60,7 +60,7 @@ $conf = $conf_save;
// +-Do I already have them in DB ?----------------------------------------+
$query = 'SELECT param FROM '.PREFIX_TABLE.'config';
$result = pwg_query($query);
-while ($row = mysql_fetch_array($result))
+while ($row = mysql_fetch_assoc($result))
{
unset( $params[ $row['param'] ] );
}