mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-12 21:22:28 +01:00
Fix compability issues with PHP<5.4
This commit is contained in:
parent
c285199f56
commit
3bab12f609
@ -5,7 +5,7 @@ require_once('password.php');
|
||||
|
||||
class polrauth {
|
||||
|
||||
public $authcreds = [];
|
||||
public $authcreds = array();
|
||||
|
||||
public function islogged () {
|
||||
if (@$_SESSION['li'] !== sha1('li')) {
|
||||
|
Loading…
Reference in New Issue
Block a user