1
0
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:
skodak 2006-09-27 10:44:25 +00:00
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;
}