mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
no php warning if website_url is missing from comment form submission (many spam robots do not fill it)
git-svn-id: http://piwigo.org/svn/trunk@28183 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -48,7 +48,7 @@ if ( $page['show_comments'] and isset( $_POST['content'] ) )
|
||||
$comm = array(
|
||||
'author' => trim( @$_POST['author'] ),
|
||||
'content' => trim( $_POST['content'] ),
|
||||
'website_url' => trim( $_POST['website_url'] ),
|
||||
'website_url' => trim( @$_POST['website_url'] ),
|
||||
'email' => trim( @$_POST['email'] ),
|
||||
'image_id' => $page['image_id'],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user