aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-15 12:45:39 +0000
committerMario <mario@mariovavti.com>2021-03-15 12:45:39 +0000
commitbd24224b761d8471767b8a5b7bd5e626583485f6 (patch)
tree6699205f3cc49d236f7e0e2b695dfe1516a8928c /Zotlabs/Lib
parenta5ac3888898d709bdd63900dff79b21823477d85 (diff)
downloadvolse-hubzilla-bd24224b761d8471767b8a5b7bd5e626583485f6.tar.gz
volse-hubzilla-bd24224b761d8471767b8a5b7bd5e626583485f6.tar.bz2
volse-hubzilla-bd24224b761d8471767b8a5b7bd5e626583485f6.zip
air: fix register notifications
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Enotify.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index d2a0f0abc..b64ab2cc5 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -978,12 +978,12 @@ class Enotify {
$x = [
'notify_link' => z_root() . '/admin/accounts',
- 'name' => $rr['account_email'],
- //'addr' => $rr['account_email'],
+ 'name' => (($rr['reg_email']) ? $rr['reg_email'] : $rr['reg_did2']),
+ //'addr' => '',
'photo' => z_root() . '/' . get_default_profile_photo(48),
- 'when' => datetime_convert('UTC', date_default_timezone_get(),$rr['account_created']),
+ 'when' => datetime_convert('UTC', date_default_timezone_get(),$rr['reg_created']),
'hclass' => ('notify-unseen'),
- 'message' => t('requires approval')
+ 'message' => (($rr['reg_vfd'] === '× not yet') ? t('not yet verified') : t('verified')) . ', ' . t('requires approval')
];
return $x;