MDL-50637 calendar: Fix subscription table layout
authorSkylar Kelty <S.Kelty@kent.ac.uk>
Thu, 18 Jun 2015 12:21:33 +0000 (13:21 +0100)
committerSkylar Kelty <S.Kelty@kent.ac.uk>
Thu, 18 Jun 2015 12:21:33 +0000 (13:21 +0100)
calendar/renderer.php

index 46e6c56..d11b6d9 100644 (file)
@@ -612,7 +612,7 @@ class core_calendar_renderer extends plugin_renderer_base {
 
         if (empty($subscriptions)) {
             $cell = new html_table_cell(get_string('nocalendarsubscriptions', 'calendar'));
 
         if (empty($subscriptions)) {
             $cell = new html_table_cell(get_string('nocalendarsubscriptions', 'calendar'));
-            $cell->colspan = 4;
+            $cell->colspan = 5;
             $table->data[] = new html_table_row(array($cell));
         }
         $strnever = new lang_string('never', 'calendar');
             $table->data[] = new html_table_row(array($cell));
         }
         $strnever = new lang_string('never', 'calendar');