Browse Source

coding guidline fix.

MOODLE_33_STABLE
Dan Marsden 8 years ago
parent
commit
4fa9398f1f
  1. 2
      locallib.php

2
locallib.php

@ -371,7 +371,7 @@ function attendance_random_string($length=6) {
$string = '';
for ($i = 0; $i < $length; $i++) {
$rand = ord($randombytes[$i]);
$string .= substr($pool, ($rand%($poollen)), 1);
$string .= substr($pool, ($rand % ($poollen)), 1);
}
return $string;
}
Loading…
Cancel
Save