aboutsummaryrefslogtreecommitdiffstats
path: root/install/db/19-database.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/19-database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/db/19-database.php b/install/db/19-database.php
index 4dfdf38d0..709e23bde 100644
--- a/install/db/19-database.php
+++ b/install/db/19-database.php
@@ -68,7 +68,7 @@ SELECT id, keywords
WHERE keywords IS NOT NULL
;';
$result = pwg_query($query);
-while ($row = mysql_fetch_array($result))
+while ($row = mysql_fetch_assoc($result))
{
foreach(preg_split('/[,]+/', $row['keywords']) as $keyword)
{