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:
z0rglub 2004-01-17 12:40:23 +00:00
parent b8d74dde50
commit a2626afcee

View file

@ -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 );