aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-08-25 21:18:59 +0000
committerz0rglub <z0rglub@piwigo.org>2004-08-25 21:18:59 +0000
commite63b7ea949fa1b2dd18e3b5776e3d583080e3d3e (patch)
treea7bfdcec5cbcecfc86d05f8e3d838b52d73789db /admin
parentd8494248fc3df1ac9b688fd5b250de60a50361b2 (diff)
very small refactoring
git-svn-id: http://piwigo.org/svn/trunk@494 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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);
}