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:
parent
b8d74dde50
commit
a2626afcee
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue