aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 518cd4c73..64c494643 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -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 );