From d08b9e2c0f6440ad4332d706f2d5b8ba2f91994c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damia=CC=81n=20Nogueiras?= Date: Thu, 13 Nov 2014 18:10:36 +0100 Subject: [PATCH] Min. one sessions for copy --- renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer.php b/renderer.php index 3645fd4..ecae6ed 100644 --- a/renderer.php +++ b/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');