aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-03 11:57:35 +0000
committerMario <mario@mariovavti.com>2022-11-03 11:57:35 +0000
commitc2a796b6ea4a8af23494e72e6c446ea847bf9627 (patch)
treeb5af7dfaf8f5f5cb89d148b9bcc696648831a3a6 /Zotlabs/Lib/Enotify.php
parent00694f0dfd03ab51c511a0ba35c98cfe1e22f918 (diff)
downloadvolse-hubzilla-c2a796b6ea4a8af23494e72e6c446ea847bf9627.tar.gz
volse-hubzilla-c2a796b6ea4a8af23494e72e6c446ea847bf9627.tar.bz2
volse-hubzilla-c2a796b6ea4a8af23494e72e6c446ea847bf9627.zip
rename variable and warning fixes
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r--Zotlabs/Lib/Enotify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index 67efe5e9d..2015b260d 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -869,7 +869,7 @@ class Enotify {
$x = array(
'notify_link' => $item['llink'],
'name' => $item[$who]['xchan_name'],
- 'addr' => (($item[$who]['xchan_addr']) ? $item[$who]['xchan_addr'] : $item[$who]['xchan_url']),
+ 'addr' => $item[$who]['xchan_addr'] ?? $item[$who]['xchan_url'],
'url' => $item[$who]['xchan_url'],
'photo' => $item[$who]['xchan_photo_s'],
'when' => (($edit) ? datetime_convert('UTC', date_default_timezone_get(), $item['edited']) : datetime_convert('UTC', date_default_timezone_get(), $item['created'])),