Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-8778, fix last access date

  • Loading branch information...
commit 063970335d5be90ce993b2973b756db055c3c1dc 1 parent 072758e
dongsheng authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  user/index.php
2  user/index.php
@@ -328,7 +328,7 @@
328 328 } else {
329 329 $selectrole = " ";
330 330 }
331   - if($course->id > 2){
  331 + if($course->id != SITEID){
332 332 $select = 'SELECT u.id, u.username, u.firstname, u.lastname, u.email, u.city, u.country, u.picture, u.lang, u.timezone, u.emailstop, u.maildisplay, ul.timeaccess AS lastaccess, r.hidden '; // s.lastaccess
333 333 }else{
334 334 $select = 'SELECT u.id, u.username, u.firstname, u.lastname, u.email, u.city, u.country, u.picture, u.lang, u.timezone, u.emailstop, u.maildisplay, u.lastaccess AS lastaccess, r.hidden ';

0 comments on commit 0639703

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