From c5eaf4279feb37e8352e7a8cd5b9527f8d68f50a Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 19 Jul 2013 14:57:50 +1200 Subject: [PATCH] lower number of entries used in log - to bring under 255 including utf8 --- locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locallib.php b/locallib.php index 76ad0fe..4b60f9a 100644 --- a/locallib.php +++ b/locallib.php @@ -795,7 +795,7 @@ class attendance { } $info_array = array(); - $maxlog = 10; // Only log first 10 sessions and last session in the log info. as we can only store 255 chars. + $maxlog = 7; // Only log first 10 sessions and last session in the log info. as we can only store 255 chars. $i = 0; foreach ($sessions as $sess) { if ($i > $maxlog) {