mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-33821 Fix SQL syntax for recent glossary activity
This commit is contained in:
parent
e04a0e32c7
commit
48e6de1c34
@ -560,7 +560,7 @@ function glossary_print_recent_activity($course, $viewfullnames, $timestart) {
|
||||
echo '<div class="info"><a href="'.$link.'">'.format_string($entry->concept, true).'</a></div>';
|
||||
$entrycount += 1;
|
||||
} else {
|
||||
$numnewentries = $DB->count_records_sql($countsql.$joins[0].$clausesql.$approvalsql.')', $params);
|
||||
$numnewentries = $DB->count_records_sql($countsql.$joins[0].$clausesql.$approvalsql, $params);
|
||||
echo '<div class="head"><div class="activityhead">'.get_string('andmorenewentries', 'glossary', $numnewentries - GLOSSARY_RECENT_ACTIVITY_LIMIT).'</div></div>';
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user