Browse Source

lower number of entries used in log - to bring under 255 including utf8

MOODLE_23_STABLE
Dan Marsden 12 years ago
parent
commit
c5eaf4279f
  1. 2
      locallib.php

2
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) {

Loading…
Cancel
Save