diff options
Diffstat (limited to 'upload.php')
-rw-r--r-- | upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upload.php b/upload.php index 5e595f90c..94591cf03 100644 --- a/upload.php +++ b/upload.php @@ -248,7 +248,7 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) ) $query.= ",'".$_POST['mail_address']."',".time().",'".$xml_infos."')"; $query.= ';'; pwg_query( $query ); - $page['waiting_id'] = pwg_db_insert_id(); + $page['waiting_id'] = pwg_db_insert_id(WAITING_TABLE); if ($conf['email_admin_on_picture_uploaded']) { |