Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-17038 bugfixes

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
  • Loading branch information...
commit cd6eda7ea80d9b325995b785ecfae5bcefb31065 1 parent 48fd1cf
peterbulmer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 auth/mnet/auth.php
View
4 auth/mnet/auth.php
@@ -771,7 +771,7 @@ function keepalive_client() {
join("\n", $mnet_request->error));
break;
}
- $mnethostlogsssql = '
+ $mnethostlogssql = '
SELECT
mhostlogs.remoteid, mhostlogs.time, mhostlogs.userid, mhostlogs.ip,
mhostlogs.course, mhostlogs.module, mhostlogs.cmid, mhostlogs.action,
@@ -786,7 +786,7 @@ function keepalive_client() {
' . $CFG->prefix . 'user u
INNER JOIN ' . $CFG->prefix . 'log l on l.userid = u.id
WHERE
- u.mnethostid = $mnethostid
+ u.mnethostid = ' . $mnethostid . '
AND l.id > ' . $mnet_request->response['last log id'] . '
ORDER BY remoteid ASC
LIMIT 500
Please sign in to comment.
Something went wrong with that request. Please try again.