diff options
| author | Viktoria Wiebe <vwiebe@uos.de> | 2022-04-28 11:54:33 +0200 |
|---|---|---|
| committer | Viktoria Wiebe <vwiebe@uos.de> | 2022-05-17 14:15:04 +0200 |
| commit | 0986a50fff5c2caae35c1c7a667bbd078770fdfd (patch) | |
| tree | 07cf5ce0b8780f4c8ab80714cd11ae051d45b280 | |
| parent | 0deb02698c2b08b7c7773943dcb6944e3b654efc (diff) | |
remove link from error message
| -rw-r--r-- | lib/models/resources/Resource.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/resources/Resource.class.php b/lib/models/resources/Resource.class.php index e377e3e..0d6a39b 100644 --- a/lib/models/resources/Resource.class.php +++ b/lib/models/resources/Resource.class.php @@ -865,7 +865,7 @@ class Resource extends SimpleORMap implements StudipItem throw new ResourceBookingOverlapException( sprintf( _('%1$s: Die Buchung vom %2$s bis %3$s konnte wegen Überlappungen nicht gespeichert werden: %4$s'), - "<a href='" . Resource::getLinkForAction('booking_plan', $this->id) . "'>" . $this->getFullName() . "</a>", + htmlReady($this->getFullName()), $begin->format('d.m.Y H:i'), $end->format('H:i'), $e->getMessage() @@ -875,7 +875,7 @@ class Resource extends SimpleORMap implements StudipItem throw new ResourceBookingOverlapException( sprintf( _('%1$s: Die Buchung vom %2$s bis %3$s konnte wegen Überlappungen nicht gespeichert werden: %4$s'), - "<a href='" . Resource::getLinkForAction('booking_plan', $this->id) . "'>" . $this->getFullName() . "</a>", + htmlReady($this->getFullName()), $begin->format('d.m.Y H:i'), $end->format('d.m.Y H:i'), $e->getMessage() |
