Explicitly cast Url objects to string
- Some systems do not do this operation automatically and it results in empty DB fields
This commit is contained in:
parent
e91ba2b992
commit
ee5aa2d432
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue