Changeset 28183


Ignore:
Timestamp:
Apr 14, 2014, 11:37:53 PM (10 years ago)
Author:
rvelices
Message:

no php warning if website_url is missing from comment form submission (many spam robots do not fill it)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/picture_comment.inc.php

    r26461 r28183  
    4949    'author' => trim( @$_POST['author'] ),
    5050    'content' => trim( $_POST['content'] ),
    51     'website_url' => trim( $_POST['website_url'] ),
     51    'website_url' => trim( @$_POST['website_url'] ),
    5252    'email' => trim( @$_POST['email'] ),
    5353    'image_id' => $page['image_id'],
Note: See TracChangeset for help on using the changeset viewer.