aboutsummaryrefslogtreecommitdiff
path: root/lib/models/Course.class.php
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2022-05-11 08:42:11 +0000
committerMoritz Strohm <strohm@data-quest.de>2022-05-11 08:42:11 +0000
commitf8529970a4018ee95b52a9c3bede75f3098186b4 (patch)
tree936a46eff8ddbdb9dfc7e1463d3f82b8cb53c3ec /lib/models/Course.class.php
parent6b3ca21b124871ca44af1584214a6eb5e907a06f (diff)
TIC #608
Merge request studip/studip!421
Diffstat (limited to 'lib/models/Course.class.php')
-rw-r--r--lib/models/Course.class.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/models/Course.class.php b/lib/models/Course.class.php
index 971d92f..878c12e 100644
--- a/lib/models/Course.class.php
+++ b/lib/models/Course.class.php
@@ -1005,4 +1005,13 @@ class Course extends SimpleORMap implements Range, PrivacyObject, StudipItem, Fe
{
return array_filter($this->tools->getStudipModule());
}
+
+
+ /**
+ * @see Range::__toString()
+ */
+ public function __toString() : string
+ {
+ return $this->getFullName();
+ }
}