mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
waiting.category_id was replaced by waiting.storage_category_id
git-svn-id: http://piwigo.org/svn/trunk@81 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user