From 776dc843110e5ebff046c977e3c5f388848c47a1 Mon Sep 17 00:00:00 2001 From: Peter-Martijn Kuipers Date: Mon, 3 Oct 2022 15:48:51 +0200 Subject: [PATCH] Fixed bug in buttons --- block_mytreestudyplan.php | 4 ++-- version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/block_mytreestudyplan.php b/block_mytreestudyplan.php index 6ee229a..0a191a7 100644 --- a/block_mytreestudyplan.php +++ b/block_mytreestudyplan.php @@ -70,10 +70,10 @@ class block_mytreestudyplan extends \block_base { if($teachermode){ $this->content->footer = "".get_string("view_plan","local_treestudyplan").""; if(has_capability("local/treestudyplan:editstudyplan",$systemcontext)){ - $this->content->footer .= "  ".get_string("cfg_plans","local_treestudyplan").""; + $this->content->footer .= "  ".get_string("cfg_plans","local_treestudyplan").""; } } else if (count($mystudyplans) > 0) { - $this->content->footer = "{$invite_text}"; + $this->content->footer = "  {$invite_text}"; } return $this->content; diff --git a/version.php b/version.php index 0401ce7..201de6b 100644 --- a/version.php +++ b/version.php @@ -1,6 +1,6 @@ component = 'block_mytreestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494) -$plugin->version = 2022090800; // YYYYMMDDHH (year, month, day, iteration) +$plugin->version = 2022090801; // YYYYMMDDHH (year, month, day, iteration) $plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11) $plugin->dependencies = [