aboutsummaryrefslogtreecommitdiff
path: root/lib/models/Course.class.php
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2022-10-26 10:12:32 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-10-26 10:12:32 +0000
commitc16626dfcac357e339f48113eb646847af7dd6a9 (patch)
tree493c4ea0db09d905926fc0a2d0fa338c772e3a88 /lib/models/Course.class.php
parentb8256a4732c53ca504bb8c17adcb47cfa799d81e (diff)
Use Monolog as PSR-11 compatible logger, refs #1686.
Merge request studip/studip!1117
Diffstat (limited to 'lib/models/Course.class.php')
-rw-r--r--lib/models/Course.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/Course.class.php b/lib/models/Course.class.php
index 10969a4..4500daa 100644
--- a/lib/models/Course.class.php
+++ b/lib/models/Course.class.php
@@ -521,7 +521,7 @@ class Course extends SimpleORMap implements Range, PrivacyObject, StudipItem, Fe
return $semTypes[$this->status];
}
- Log::ERROR(sprintf('SemType not found id:%s status:%s', $this->id, $this->status));
+ Log::error(sprintf('SemType not found id:%s status:%s', $this->id, $this->status));
return new SemType(['name' => 'Fehlerhafter Veranstaltungstyp']);
}