Browse Source

Fix coding guideline warning.

MOODLE_36_STABLE
Dan Marsden 6 years ago
parent
commit
18d2fd1d67
  1. 3
      locallib.php

3
locallib.php

@ -1062,7 +1062,8 @@ function attendance_renderqrcode($session) {
global $CFG; global $CFG;
if (strlen($session->studentpassword) > 0) { if (strlen($session->studentpassword) > 0) {
$qrcodeurl = $CFG->wwwroot . '/mod/attendance/attendance.php?qrpass=' . $session->studentpassword . '&sessid=' . $session->id; $qrcodeurl = $CFG->wwwroot . '/mod/attendance/attendance.php?qrpass=' . $session->studentpassword .
'&sessid=' . $session->id;
} else { } else {
$qrcodeurl = $CFG->wwwroot . '/mod/attendance/attendance.php?sessid=' . $session->id; $qrcodeurl = $CFG->wwwroot . '/mod/attendance/attendance.php?sessid=' . $session->id;
} }

Loading…
Cancel
Save