aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-08 18:04:00 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-08 18:04:00 +0000
commit0e75a1c6d31694aba488761681dcbd4269169ecd (patch)
tree6c010c3251a85bda200de0ba023597b72d6a8954
parent1d8cccba875a082b5adbbca89cd174ae931ed31d (diff)
waiting.category_id was replaced by waiting.storage_category_id
git-svn-id: http://piwigo.org/svn/trunk@81 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/update.php b/admin/update.php
index fb2ea3b4a..d11415311 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -185,7 +185,7 @@ function insert_local_image( $rep, $category_id )
// is the picture waiting for validation by an administrator ?
$query = 'SELECT id,validated,infos';
$query.= ' FROM '.PREFIX_TABLE.'waiting';
- $query.= ' WHERE category_id = '.$category_id;
+ $query.= ' WHERE storage_category_id = '.$category_id;
$query.= " AND file = '".$file."'";
$query.= ';';
$result = mysql_query( $query );