aboutsummaryrefslogtreecommitdiffstats
path: root/search_rules.php
diff options
context:
space:
mode:
Diffstat (limited to 'search_rules.php')
-rw-r--r--search_rules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/search_rules.php b/search_rules.php
index c3977060d..fb2fd612b 100644
--- a/search_rules.php
+++ b/search_rules.php
@@ -135,7 +135,7 @@ SELECT id, uppercats, global_rank
$categories = array();
if (!empty($result))
{
- while ($row = mysql_fetch_array($result))
+ while ($row = mysql_fetch_assoc($result))
{
array_push($categories, $row);
}