Commit 21dba7b6 authored by tbrehm's avatar tbrehm

Fixed: FS#825 - Logged out when viewing the sys datalog

parent 0bdf6b8e
......@@ -49,8 +49,8 @@ $app->uses('listform_actions');
$servers = $app->db->queryAllRecords("SELECT server_id, updated FROM server");
$sql = '(';
foreach($servers as $s) {
$sql .= " (datalog_id > ".$s['updated']." AND server_id = ".$s['server_id'].") OR ";
foreach($servers as $sv) {
$sql .= " (datalog_id > ".$sv['updated']." AND server_id = ".$sv['server_id'].") OR ";
}
$sql = substr($sql,0,-4);
$sql .= ')';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment