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 81b491a..ae2e2e7 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'] ?? '',