aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_options.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-05-20 08:59:19 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-05-20 08:59:19 +0200
commit91cace06a5b8d0d2b2446429ec404acda0f42e5b (patch)
treee7100cc983c60a648f7086c3f7b73833ab6c5a1f /phpBB/includes/ucp/ucp_pm_options.php
parent358c634153bd5fc5fe6a80a2c129e70adb107093 (diff)
downloadforums-91cace06a5b8d0d2b2446429ec404acda0f42e5b.tar
forums-91cace06a5b8d0d2b2446429ec404acda0f42e5b.tar.gz
forums-91cace06a5b8d0d2b2446429ec404acda0f42e5b.tar.bz2
forums-91cace06a5b8d0d2b2446429ec404acda0f42e5b.tar.xz
forums-91cace06a5b8d0d2b2446429ec404acda0f42e5b.zip
[ticket/13832] Resolve minor coding issues
PHPBB3-13832
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_options.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_options.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_options.php b/phpBB/includes/ucp/ucp_pm_options.php
index 1faec590aa..b674a457c1 100644
--- a/phpBB/includes/ucp/ucp_pm_options.php
+++ b/phpBB/includes/ucp/ucp_pm_options.php
@@ -509,7 +509,7 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit
// Build all three language arrays
preg_replace_callback('#^((RULE|ACTION|CHECK)_([A-Z0-9_]+))$#', function ($match) use(&$rule_lang, &$action_lang, &$check_lang, $user) {
${strtolower($match[2]) . '_lang'}[constant($match[1])] = $user->lang['PM_' . $match[2]][$match[3]];
- } , array_keys(get_defined_constants()));
+ }, array_keys(get_defined_constants()));
/*
Rule Ordering: