aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/update.php b/admin/update.php
index a99b58e62..4f7a3cb64 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -59,8 +59,8 @@ SELECT id, if(id_uppercat is null,\'\',id_uppercat) AS id_uppercat
}
$query = '
UPDATE '.CATEGORIES_TABLE.'
- SET rank = '.++$current_rank.'
- WHERE id = '.$row['id'].'
+ SET rank = '.++$current_rank.'
+ WHERE id = '.$row['id'].'
;';
mysql_query($query);
}