From a2626afceee9ca1c82dcf0e4f6de8f7f0205b0be Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 17 Jan 2004 12:40:23 +0000 Subject: 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 --- admin/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') 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 ); -- cgit v1.2.3