1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 11:42:28 +01:00

Fix adm check expression

Thanks to @korko
This commit is contained in:
Chaoyi Zha 2015-05-31 15:15:02 -04:00
parent a5929f0296
commit b174bad6eb

View File

@ -5,7 +5,7 @@ require_once('version.php');
?>
<?php
require_once('lib-core.php');
if ($_SESSION['role']=="adm") {
if (isset($_SESSION['role']) && $_SESSION['role'] == "adm") {
echo "
<h1>About Polr</h1>
<br>