Skip to content

Commit

Permalink
Merge branch 'wip-MDL-40843-fix' of git://github.com/marinaglancy/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Apr 9, 2014
2 parents f68fee2 + 488bbfb commit 21fd238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/chat/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ function chat_print_recent_activity($course, $viewfullnames, $timestart) {

$params = array('timeold'=>$timeold, 'timeoldext'=>$timeoldext, 'cmid'=>$cm->id);

$timeout = "AND (chu.version<>'basic' AND chu.lastping>:timeold) OR (chu.version='basic' AND chu.lastping>:timeoldext)";
$timeout = "AND ((chu.version<>'basic' AND chu.lastping>:timeold) OR (chu.version='basic' AND chu.lastping>:timeoldext))";

foreach ($current as $cm) {
//count users first
Expand Down

0 comments on commit 21fd238

Please sign in to comment.