From: Hypolite Petovan Date: Sun, 3 Oct 2021 19:22:40 +0000 (-0400) Subject: Revert "Explicitly cast Url objects to string" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c40390c202016db26621c65713aa3e890b5c4809;p=friendica.git Revert "Explicitly cast Url objects to string" This reverts commit ee5aa2d4327699ae80c281c6aebbeaf6f06be269. --- diff --git a/src/Navigation/Notifications/Depository/Notify.php b/src/Navigation/Notifications/Depository/Notify.php index 73eff7694d..4c7a1ef33d 100644 --- a/src/Navigation/Notifications/Depository/Notify.php +++ b/src/Navigation/Notifications/Depository/Notify.php @@ -104,11 +104,11 @@ class Notify extends BaseDepository $fields = [ 'type' => $Notify->type, 'name' => $Notify->name, - 'url' => (string)$Notify->url, - 'photo' => (string)$Notify->photo, + 'url' => $Notify->url, + 'photo' => $Notify->photo, 'msg' => $Notify->msg, 'uid' => $Notify->uid, - 'link' => (string)$Notify->link, + 'link' => $Notify->link, 'iid' => $Notify->itemId, 'parent' => $Notify->parent, 'seen' => $Notify->seen,