mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 00:42:20 +02:00
UPDATE query in update_category was not correctly written and never executed
git-svn-id: http://piwigo.org/svn/branches/release-1_3@282 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -390,7 +390,7 @@ function update_category( $id = 'all' )
|
||||
|
||||
$query = 'UPDATE '.PREFIX_TABLE.'categories';
|
||||
$query.= " SET date_last = '".$date_available."'";
|
||||
$query.= ' SET nb_images = '.$nb_images;
|
||||
$query.= ', nb_images = '.$nb_images;
|
||||
$query.= ' WHERE id = '.$id;
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
|
||||
Reference in New Issue
Block a user