diff options
Diffstat (limited to 'views/default/notifications/settings')
-rw-r--r-- | views/default/notifications/settings/usersettings.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/notifications/settings/usersettings.php b/views/default/notifications/settings/usersettings.php index 4bf43e254..02a4e67b4 100644 --- a/views/default/notifications/settings/usersettings.php +++ b/views/default/notifications/settings/usersettings.php @@ -11,7 +11,8 @@ */
global $NOTIFICATION_HANDLERS;
- $notification_settings = get_user_notification_settings(page_owner());
+ $notification_settings = get_user_notification_settings(page_owner()); +
?>
<h3><?php echo elgg_echo('notifications:usersettings'); ?></h3>
@@ -29,12 +30,12 @@ <td>
<?php
- if ($notification_settings->k) {
+ if ($notification_settings->$k) {
$val = "yes";
} else {
$val = "no";
}
- echo elgg_view('input/radio',array('internalname' => "method[{$k}]", 'options' => array('yes','no'), 'value' => $val));
+ echo elgg_view('input/radio',array('internalname' => "method[{$k}]", 'options' => array('yes' => 'yes','no' => 'no'), 'value' => $val));
?>
</td>
|