]> git.mxchange.org Git - friendica.git/commitdiff
Useless space and useless "null" check
authorMichael <heluecht@pirati.ca>
Mon, 4 May 2020 14:50:22 +0000 (14:50 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 4 May 2020 14:50:22 +0000 (14:50 +0000)
include/enotify.php

index 81b491ade504562ff5416d2f95ccc0940dede65b..ae2e2e7fefba2526e381350dfd9b00861f5f8cf2 100644 (file)
@@ -470,10 +470,10 @@ function notification($params)
                        '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'] ?? '',