From 5574388a9c543dcd540bd3dfa4108f1229101141 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 23 Nov 2003 11:15:37 +0000 Subject: [PATCH] Search for any 'view%' string in the module log, instead of exact matching. --- course/outline_rep.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/outline_rep.php b/course/outline_rep.php index 1fcf763b02..d995b67ba1 100644 --- a/course/outline_rep.php +++ b/course/outline_rep.php @@ -81,7 +81,7 @@ $result = null; if ($logs = get_records_select("log", "module='$mod->modname' - AND action='view' AND info='$mod->instance'", "time ASC")) { + AND action LIKE 'view%' AND info='$mod->instance'", "time ASC")) { $numviews = count($logs); $lastlog = array_pop($logs); -- 2.39.5