The execution of the query to insert distant picture had vanished !

git-svn-id: http://piwigo.org/svn/trunk@124 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-09-16 18:53:52 +00:00
parent 335f56c4cd
commit 64fd038b76
+1
View File
@@ -479,6 +479,7 @@ function insert_remote_image( $xml_dir, $category_id )
$query.= ",'".$height."'";
$query.= ')';
$query.= ';';
mysql_query( $query );
// retrieving the id of newly inserted picture
$query = 'SELECT id';
$query.= ' FROM '.PREFIX_TABLE.'images';