Skip to content

Commit

Permalink
Merge branch '0.9' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jul 13, 2023
2 parents a61cd43 + e49690b commit 714476b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions system/pages/forum/new_thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
if(Forum::canPost($account_logged)) {
$players_from_account = $db->query('SELECT `players`.`name`, `players`.`id` FROM `players` WHERE `players`.`account_id` = '.(int) $account_logged->getId())->fetchAll();
$section_id = $_REQUEST['section_id'] ?? null;

if($section_id !== null) {
echo '<a href="' . getLink('forum') . '">Boards</a> >> <a href="' . getForumBoardLink($section_id) . '">' . $sections[$section_id]['name'] . '</a> >> <b>Post new thread</b><br />';

Expand All @@ -31,8 +30,6 @@
$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.";
Expand Down

0 comments on commit 714476b

Please sign in to comment.