diff --git a/src/Module/Notifications/Notification.php b/src/Module/Notifications/Notification.php index 2480e63b0b..19ee410d28 100644 --- a/src/Module/Notifications/Notification.php +++ b/src/Module/Notifications/Notification.php @@ -124,7 +124,7 @@ class Notification extends BaseModule DI::notify()->setAllSeenForRelatedNotify($Notify); } - if ($Notify->link) { + if ((string)$Notify->link) { System::externalRedirect($Notify->link); }