Browse Source

Merge pull request #61 from damiannogueiras/master

Allow sessions to be copied from a previous session when 2 or more sessions are on the same day. Previously sessions could only be copied when 3 or more sessions are on the same day.
MOODLE_28_STABLE
Dan Marsden 10 years ago
parent
commit
7c16563851
  1. 2
      renderer.php

2
renderer.php

@ -445,7 +445,7 @@ class mod_attendance_renderer extends plugin_renderer_base {
$controls .= $this->output->render($select);
}
if (count($takedata->sessions4copy) > 1) {
if (count($takedata->sessions4copy) > 0) {
$controls .= html_writer::empty_tag('br');
$controls .= html_writer::empty_tag('br');

Loading…
Cancel
Save