X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fenotify.php;h=89a81833d08308bfea5ed3303f6a9f2fac242118;hb=8ec2b21a1471f0a3c0afdbe56fb525c1b4b06efc;hp=81b491ade504562ff5416d2f95ccc0940dede65b;hpb=49db63da2b11ce899639f9c1b53e1f47a456c822;p=friendica.git diff --git a/include/enotify.php b/include/enotify.php index 81b491ade5..89a81833d0 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -465,15 +465,15 @@ function notification($params) if ($show_in_notification_page) { $notification = DI::notify()->insert([ 'name' => $params['source_name'] ?? '', - 'name_cache' => substr(strip_tags(BBCode::convert($params['source_name'] ?? '')), 0, 255), + 'name_cache' => substr(strip_tags(BBCode::convert($params['source_name'])), 0, 255), 'url' => $params['source_link'] ?? '', 'photo' => $params['source_photo'] ?? '', 'link' => $itemlink ?? '', 'uid' => $params['uid'] ?? 0, - 'iid' => $item_id ?? 0, - 'uri-id' => $uri_id ?? 0, - 'parent' => $parent_id ?? 0, - 'parent-uri-id' => $parent_uri_id ?? 0, + 'iid' => $item_id, + 'uri-id' => $uri_id, + 'parent' => $parent_id, + 'parent-uri-id' => $parent_uri_id, 'type' => $params['type'] ?? '', 'verb' => $params['verb'] ?? '', 'otype' => $params['otype'] ?? '',