aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_notifications.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/ucp/ucp_notifications.php')
-rw-r--r--phpBB/includes/ucp/ucp_notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_notifications.php b/phpBB/includes/ucp/ucp_notifications.php
index aeace13968..8749c88ba1 100644
--- a/phpBB/includes/ucp/ucp_notifications.php
+++ b/phpBB/includes/ucp/ucp_notifications.php
@@ -192,7 +192,7 @@ class ucp_notifications
$template->assign_block_vars($block . '.notification_methods', array(
'METHOD' => $method,
- 'NAME' => $user->lang('NOTIFICATION_METHOD_' . strtoupper($method)),
+ 'NAME' => $user->lang(strtoupper($method)),
'SUBSCRIBED' => (isset($subscriptions[$type]) && in_array($method, $subscriptions[$type])) ? true : false,
));
@@ -218,7 +218,7 @@ class ucp_notifications
$template->assign_block_vars($block, array(
'METHOD' => $method,
- 'NAME' => $user->lang('NOTIFICATION_METHOD_' . strtoupper($method)),
+ 'NAME' => $user->lang(strtoupper($method)),
));
}
}