aboutsummaryrefslogtreecommitdiffstats
path: root/install/db/20-database.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/20-database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/db/20-database.php b/install/db/20-database.php
index 25935f5de..9a29624b1 100644
--- a/install/db/20-database.php
+++ b/install/db/20-database.php
@@ -47,7 +47,7 @@ SELECT category_id, image_id
$result = pwg_query($query);
$datas = array();
-while ($row = mysql_fetch_array($result))
+while ($row = mysql_fetch_assoc($result))
{
array_push(
$datas,