aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notifications.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-13 15:37:25 -0700
committerfriendica <info@friendica.com>2012-04-13 15:37:25 -0700
commitd1b57d6e74e6881a81a4cffa8cc4d2780b687ccb (patch)
treeff1c5780a088a986dc4cb090a1d202cce1244ff1 /mod/notifications.php
parente71f01b54946391c4c577f2570bb7121c95e0988 (diff)
downloadvolse-hubzilla-d1b57d6e74e6881a81a4cffa8cc4d2780b687ccb.tar.gz
volse-hubzilla-d1b57d6e74e6881a81a4cffa8cc4d2780b687ccb.tar.bz2
volse-hubzilla-d1b57d6e74e6881a81a4cffa8cc4d2780b687ccb.zip
setting wasn't being applied
Diffstat (limited to 'mod/notifications.php')
-rw-r--r--mod/notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 8e3eebba1..e47582966 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -151,7 +151,7 @@ function notifications_content(&$a) {
'$fullname' => $rr['fname'],
'$url' => zrl($rr['furl']),
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
- '$activity' => array('activity', t('Post a new friend activity'), 1, t('if applicable')),
+ '$activity' => array('activity', t('Post a new friend activity'), (intval(get_config('system','post_newfriend')) ? '1' : 0), t('if applicable')),
'$knowyou' => $knowyou,
'$approve' => t('Approve'),
@@ -198,7 +198,7 @@ function notifications_content(&$a) {
'$photo' => ((x($rr,'photo')) ? $rr['photo'] : "images/person-175.jpg"),
'$fullname' => $rr['name'],
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
- '$activity' => array('activity', t('Post a new friend activity'), get_config('system','post_newfriend'), t('if applicable')),
+ '$activity' => array('activity', t('Post a new friend activity'), (intval(get_config('system','post_newfriend')) ? '1' : 0), t('if applicable')),
'$url' => zrl($rr['url']),
'$knowyou' => $knowyou,
'$approve' => t('Approve'),