From 289750112c160c0b4f9ecbb31da6b00dabbc18f3 Mon Sep 17 00:00:00 2001 From: Xkeeper Date: Wed, 18 Nov 2020 11:21:34 -0800 Subject: [PATCH] fix unquoted array keys in newthread.php (re: #68) --- newthread.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newthread.php b/newthread.php index c275a76..4b7ae65 100644 --- a/newthread.php +++ b/newthread.php @@ -117,11 +117,11 @@ "); if(!$_POST['action'] or $_POST['paction']) { print " - $fonttag$boardname - ".$forum[title]." + $fonttag$boardname - ".$forum['title']."
$tblstart "; - if($log and $forums[$id][minpowerthread]>$power) { + if($log and $forums[$id]['minpowerthread']>$power) { print "$tccell1>Sorry, but you are not allowed to post"; if($banned) print ", because you are banned from this board.
".redirect("forum.php?id=$id",'return to the forum',0); else print ' in this restricted forum.
'.redirect('index.php','return to the board',0); @@ -158,7 +158,7 @@
- $fonttag$boardname - ".$forum[title]." + $fonttag$boardname - ".$forum['title']." ".replytoolbar(4); } if($_POST['action']=='postthread' and !$_POST['paction']) {