projects
/
moodle-mod_attendance.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e1d9d
)
coding guidline fix.
author
Dan Marsden
<dan@danmarsden.com>
Fri, 28 Apr 2017 04:29:09 +0000
(16:29 +1200)
committer
Dan Marsden
<dan@danmarsden.com>
Fri, 28 Apr 2017 04:29:09 +0000
(16:29 +1200)
locallib.php
patch
|
blob
|
history
diff --git
a/locallib.php
b/locallib.php
index
b78fd45
..
0a98e8a
100644
(file)
--- a/
locallib.php
+++ b/
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;
}
\ No newline at end of file