diff options
author | Simon Rettberg | 2017-12-01 10:58:51 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-12-01 10:58:51 +0100 |
commit | d05492c542e5050a8d5446d2f6624cc97c7ec7e0 (patch) | |
tree | f55ae972a859fac554833cc0f7e59afb9a615624 | |
parent | [runmode] Fix syntax error in SQL query (diff) | |
download | slx-admin-d05492c542e5050a8d5446d2f6624cc97c7ec7e0.tar.gz slx-admin-d05492c542e5050a8d5446d2f6624cc97c7ec7e0.tar.xz slx-admin-d05492c542e5050a8d5446d2f6624cc97c7ec7e0.zip |
[runmode] Varname mismatch
-rw-r--r-- | modules-available/runmode/inc/runmode.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/runmode/inc/runmode.inc.php b/modules-available/runmode/inc/runmode.inc.php index 8ba8587f..d5a8479b 100644 --- a/modules-available/runmode/inc/runmode.inc.php +++ b/modules-available/runmode/inc/runmode.inc.php @@ -190,7 +190,7 @@ class RunMode if ($withData) { $xtra .= ', modedata'; } - $res = Database::simpleQuery("SELECT machineuuid, module, modeid, isclient $withData FROM runmode"); + $res = Database::simpleQuery("SELECT machineuuid, module, modeid, isclient $xtra FROM runmode"); $ret = array(); while ($row = $res->fetch(PDO::FETCH_ASSOC)) { if ($clientsOnly && !$row['isclient']) |