mirror of
https://github.com/moodle/moodle.git
synced 2025-04-23 17:34:56 +02:00
fixed incorrectly quoted $LIKE in forum recent activity sql
This commit is contained in:
parent
421f60f9c9
commit
90eca94be8
@ -865,7 +865,7 @@ function forum_print_recent_activity($course, $isteacher, $timestart) {
|
||||
if (!$logs = get_records_select('log', 'time > \''.$timestart.'\' AND '.
|
||||
'course = \''.$course->id.'\' AND '.
|
||||
'module = \'forum\' AND '.
|
||||
'action $LIKE \'add %\' ', 'time ASC')){
|
||||
'action '.$LIKE.' \'add %\' ', 'time ASC')){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user