diff options
author | Simon Rettberg | 2016-09-09 20:36:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-09-09 20:36:16 +0200 |
commit | bfc849ca51668f8b6c68aec11930d0a8fc6e9fda (patch) | |
tree | c17cd764a4900a2c5084fff42f19a26ca59ec8a3 /modules-available/statistics | |
parent | [roomplanner] Forgot to init tutor button when adding new pc (diff) | |
download | slx-admin-bfc849ca51668f8b6c68aec11930d0a8fc6e9fda.tar.gz slx-admin-bfc849ca51668f8b6c68aec11930d0a8fc6e9fda.tar.xz slx-admin-bfc849ca51668f8b6c68aec11930d0a8fc6e9fda.zip |
[statistics] queryFirst -> simpleQuery -.-
That's why I felt I fixed it two times; one time was the wrong line :(
Diffstat (limited to 'modules-available/statistics')
-rw-r--r-- | modules-available/statistics/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index 9383944e..512f7ead 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -616,7 +616,7 @@ class Page_Statistics extends Page $row['session'] = $row['currentsession']; return; } - $res = Database::queryFirst('SELECT dateline, username, data FROM statistic' + $res = Database::simpleQuery('SELECT dateline, username, data FROM statistic' . " WHERE clientip = :ip AND typeid = '.vmchooser-session-name'" . ' AND dateline BETWEEN :start AND :end', array( 'ip' => $row['clientip'], |