mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 20:50:21 +01:00
Use a looser search when showing an activity module's logs, to get more
This commit is contained in:
parent
4afe0109d1
commit
16e962a71c
@ -184,7 +184,7 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per
|
|||||||
|
|
||||||
if ($modpage and $modid) {
|
if ($modpage and $modid) {
|
||||||
$LIKE = $CFG->dbtype == "mysql" ? "LIKE" : "ILIKE";
|
$LIKE = $CFG->dbtype == "mysql" ? "LIKE" : "ILIKE";
|
||||||
$selector .= " AND l.url $LIKE '$modpage.php?id=$modid%'";
|
$selector .= " AND l.url $LIKE '%id=$modid%'";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($user) {
|
if ($user) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user