|
@ -151,14 +151,20 @@ |
|
|
if($config['field_disable_password']) |
|
|
if($config['field_disable_password']) |
|
|
$_POST['password'] = ''; |
|
|
$_POST['password'] = ''; |
|
|
|
|
|
|
|
|
if( !isset($_POST['name']) || |
|
|
if( !isset($_POST['subject']) || |
|
|
!isset($_POST['email']) || |
|
|
|
|
|
!isset($_POST['subject']) || |
|
|
|
|
|
!isset($_POST['body']) || |
|
|
!isset($_POST['body']) || |
|
|
!isset($_POST['board']) || |
|
|
!isset($_POST['board']) |
|
|
!isset($_POST['password']) |
|
|
|
|
|
) error($config['error']['bot']); |
|
|
) error($config['error']['bot']); |
|
|
|
|
|
|
|
|
|
|
|
if(!isset($_POST['name'])) |
|
|
|
|
|
$_POST['name'] = $config['anonymous']; |
|
|
|
|
|
|
|
|
|
|
|
if(!isset($_POST['email'])) |
|
|
|
|
|
$_POST['email'] = ''; |
|
|
|
|
|
|
|
|
|
|
|
if(!isset($_POST['password'])) |
|
|
|
|
|
$_POST['password'] = ''; |
|
|
|
|
|
|
|
|
$post = Array('board' => $_POST['board']); |
|
|
$post = Array('board' => $_POST['board']); |
|
|
|
|
|
|
|
|
if(isset($_POST['thread'])) { |
|
|
if(isset($_POST['thread'])) { |
|
|