From 3c14d03fed03b237e013b6ba6a4c0f05633eae54 Mon Sep 17 00:00:00 2001 From: Peter-Martijn Kuipers Date: Sun, 26 Jun 2022 20:57:42 +0200 Subject: [PATCH] Bugfix --- block_mytreestudyplan.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block_mytreestudyplan.php b/block_mytreestudyplan.php index 2d2be12..034d38f 100644 --- a/block_mytreestudyplan.php +++ b/block_mytreestudyplan.php @@ -68,12 +68,12 @@ class block_mytreestudyplan extends \block_base { if($teachermode){ - $this->content->footer = "".get_string("view_plan","local_treestudyplan").""; + $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").""; } } else if (count($mystudyplans) > 0) { - $this->content->footer = "{$invite_text}"; + $this->content->footer = "{$invite_text}"; } return $this->content;