]> git.mxchange.org Git - friendica.git/commitdiff
Revert "Explicitly cast Url objects to string"
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 3 Oct 2021 19:22:40 +0000 (15:22 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 3 Oct 2021 19:22:40 +0000 (15:22 -0400)
This reverts commit ee5aa2d4327699ae80c281c6aebbeaf6f06be269.

src/Navigation/Notifications/Depository/Notify.php

index 73eff7694d9703af999d916715a041537aed98cb..4c7a1ef33dde5fc29df2543ab842b542c37c4c9b 100644 (file)
@@ -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,