summaryrefslogtreecommitdiffstats
path: root/modules-available/runmode
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-01 10:58:51 +0100
committerSimon Rettberg2017-12-01 10:58:51 +0100
commitd05492c542e5050a8d5446d2f6624cc97c7ec7e0 (patch)
treef55ae972a859fac554833cc0f7e59afb9a615624 /modules-available/runmode
parent[runmode] Fix syntax error in SQL query (diff)
downloadslx-admin-d05492c542e5050a8d5446d2f6624cc97c7ec7e0.tar.gz
slx-admin-d05492c542e5050a8d5446d2f6624cc97c7ec7e0.tar.xz
slx-admin-d05492c542e5050a8d5446d2f6624cc97c7ec7e0.zip
[runmode] Varname mismatch
Diffstat (limited to 'modules-available/runmode')
-rw-r--r--modules-available/runmode/inc/runmode.inc.php2
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'])