From 033491f84f9e58308954b049d3574e8791c6c3c2 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Mon, 9 Apr 2012 21:13:44 +1000 Subject: increase character limit on board URI, title and subtitle --- post.php | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'post.php') diff --git a/post.php b/post.php index 140ae62e..267d006f 100644 --- a/post.php +++ b/post.php @@ -18,9 +18,7 @@ if(isset($_POST['delete'])) { // Delete - if( !isset($_POST['board']) || - !isset($_POST['password']) - ) + if(!isset($_POST['board'], $_POST['password'])) error($config['error']['bot']); $password = &$_POST['password']; @@ -82,10 +80,7 @@ header('Location: ' . $root . $board['dir'] . $config['file_index'], true, $config['redirect_http']); } elseif(isset($_POST['report'])) { - if( !isset($_POST['board']) || - !isset($_POST['password']) || - !isset($_POST['reason']) - ) + if(!isset($_POST['board'], $_POST['password'], $_POST['reason'])) error($config['error']['bot']); $report = Array(); @@ -142,10 +137,8 @@ header('Location: ' . $root . $board['dir'] . $config['file_index'], true, $config['redirect_http']); } elseif(isset($_POST['post'])) { - if( !isset($_POST['subject']) || - !isset($_POST['body']) || - !isset($_POST['board']) - ) error($config['error']['bot']); + if(!isset($_POST['subject'], $_POST['body'], $_POST['board'])) + error($config['error']['bot']); if(!isset($_POST['name'])) $_POST['name'] = $config['anonymous']; -- cgit v1.3