mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix: cannot create topic on this board (check wasn't working)
This commit is contained in:
parent
e7e9d8e3b9
commit
f9d35b719b
@ -30,8 +30,6 @@ if(Forum::canPost($account_logged))
|
||||
$html = (isset($_REQUEST['html']) ? (int)$_REQUEST['html'] : 0);
|
||||
$saved = false;
|
||||
if (isset($_REQUEST['save'])) {
|
||||
$errors = array();
|
||||
|
||||
$length = strlen($post_topic);
|
||||
if ($length < 1 || $length > 60)
|
||||
$errors[] = "Too short or too long topic (Length: $length letters). Minimum 1 letter, maximum 60 letters.";
|
||||
|
Loading…
x
Reference in New Issue
Block a user