mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
Multi categories for the same picture
git-svn-id: http://piwigo.org/svn/trunk@61 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+3
-2
@@ -205,8 +205,9 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
|
||||
if ( sizeof( $error ) == 0 )
|
||||
{
|
||||
$query = 'insert into '.PREFIX_TABLE.'waiting';
|
||||
$query.= ' (cat_id,file,username,mail_address,date,infos) values';
|
||||
$query.= " (".$page['cat'].",'".$_FILES['picture']['name']."'";
|
||||
$query.= ' (storage_category_id,file,username,mail_address,date,infos)';
|
||||
$query.= ' values ';
|
||||
$query.= '('.$page['cat'].",'".$_FILES['picture']['name']."'";
|
||||
$query.= ",'".htmlspecialchars( $_POST['username'], ENT_QUOTES)."'";
|
||||
$query.= ",'".$_POST['mail_address']."',".time().",'".$xml_infos."')";
|
||||
$query.= ';';
|
||||
|
||||
Reference in New Issue
Block a user