very small refactoring

git-svn-id: http://piwigo.org/svn/trunk@494 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-08-25 21:18:59 +00:00
parent d8494248fc
commit e63b7ea949
+2 -2
View File
@@ -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);
}