From 2d4ce38cbda57c974e084cd8134d6e6ffb7c1eee Mon Sep 17 00:00:00 2001 From: Peter-Martijn Kuipers Date: Sun, 26 Jun 2022 20:53:13 +0200 Subject: [PATCH] Bugfix in buttons --- block_mytreestudyplan.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block_mytreestudyplan.php b/block_mytreestudyplan.php index 7e63f0b..2d2be12 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;