Fix loading sessions

pull/4202/head
tftadmin Appleton 2022-05-18 17:51:08 -05:00
parent a9dee3334c
commit bdf13bd46e
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ global $CLANG;
<?php
require_once('includes/User.php');
$result = dbQuery('SELECT * FROM Sessions WHERE access > ? ORDER BY access DESC LIMIT 100',
time() - ZM_COOKIE_LIFETIME);
array(time() - ZM_COOKIE_LIFETIME));
if (!$result) return;
$current_session = $_SESSION;