1
0
Fork 0

Merge pull request #10817 from MrPetovan/task/refactor-notifications

Explicitly cast Url objects to string
This commit is contained in:
Michael Vogel 2021-10-03 21:03:03 +02:00 committed by GitHub
commit dd3f573fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,11 +104,11 @@ class Notify extends BaseDepository
$fields = [ $fields = [
'type' => $Notify->type, 'type' => $Notify->type,
'name' => $Notify->name, 'name' => $Notify->name,
'url' => $Notify->url, 'url' => (string)$Notify->url,
'photo' => $Notify->photo, 'photo' => (string)$Notify->photo,
'msg' => $Notify->msg, 'msg' => $Notify->msg,
'uid' => $Notify->uid, 'uid' => $Notify->uid,
'link' => $Notify->link, 'link' => (string)$Notify->link,
'iid' => $Notify->itemId, 'iid' => $Notify->itemId,
'parent' => $Notify->parent, 'parent' => $Notify->parent,
'seen' => $Notify->seen, 'seen' => $Notify->seen,