diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-08-25 21:18:59 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-08-25 21:18:59 +0000 |
commit | e63b7ea949fa1b2dd18e3b5776e3d583080e3d3e (patch) | |
tree | a7bfdcec5cbcecfc86d05f8e3d838b52d73789db /admin | |
parent | d8494248fc3df1ac9b688fd5b250de60a50361b2 (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.php | 4 |
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); } |