aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-01-17 12:40:23 +0000
committerz0rglub <z0rglub@piwigo.org>2004-01-17 12:40:23 +0000
commita2626afceee9ca1c82dcf0e4f6de8f7f0205b0be (patch)
tree63b60394c15234a58cfd1a7b4f17bd0bb1a2c782 /admin
parentb8d74dde50298cbe4f99ada6c87b363ee9344b86 (diff)
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
Diffstat (limited to 'admin')
-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 );