update webiste

This commit is contained in:
Bluzume 2021-11-09 00:23:24 -05:00
parent 66bbfd7913
commit ed3ee67204
4 changed files with 13 additions and 8 deletions
master-site/web

View file

@ -35,7 +35,8 @@ include("header.php");
if(!isset($_POST['VIEWID'])){
$thread = create_fourm_thread($subject, $forum);
create_fourm_reply($thread, $_SESSION['USERNAME'], $text, $forum, $_SESSION['ADMIN']);
create_fourm_reply($thread, $_SESSION['USERNAME'], $text, $forum, $_SESSION['ADMIN'] == 'YES');
}
else
{
@ -46,7 +47,7 @@ include("header.php");
goto ex;
}
create_fourm_reply($threadId, $_SESSION['USERNAME'], $text, $forum, $_SESSION['ADMIN']);
create_fourm_reply($threadId, $_SESSION['USERNAME'], $text, $forum, $_SESSION['ADMIN'] == 'YES');
}
}