Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-17038 bugfixes

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
  • Loading branch information...
commit cd6eda7ea80d9b325995b785ecfae5bcefb31065 1 parent 48fd1cf
peterbulmer authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 auth/mnet/auth.php
4 auth/mnet/auth.php
@@ -771,7 +771,7 @@ function keepalive_client() {
771 771 join("\n", $mnet_request->error));
772 772 break;
773 773 }
774   - $mnethostlogsssql = '
  774 + $mnethostlogssql = '
775 775 SELECT
776 776 mhostlogs.remoteid, mhostlogs.time, mhostlogs.userid, mhostlogs.ip,
777 777 mhostlogs.course, mhostlogs.module, mhostlogs.cmid, mhostlogs.action,
@@ -786,7 +786,7 @@ function keepalive_client() {
786 786 ' . $CFG->prefix . 'user u
787 787 INNER JOIN ' . $CFG->prefix . 'log l on l.userid = u.id
788 788 WHERE
789   - u.mnethostid = $mnethostid
  789 + u.mnethostid = ' . $mnethostid . '
790 790 AND l.id > ' . $mnet_request->response['last log id'] . '
791 791 ORDER BY remoteid ASC
792 792 LIMIT 500

0 comments on commit cd6eda7

Please sign in to comment.
Something went wrong with that request. Please try again.