diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-30 03:31:38 +0200 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:04 +0200 |
commit | b24e0f4f69b6436b3a654502d44d15333b0dfdc3 (patch) | |
tree | 9978bba32636e5605418348338118d63150746c7 | |
parent | 1d90daf96963de3349cecc54d36ae421a24e0612 (diff) | |
download | forums-b24e0f4f69b6436b3a654502d44d15333b0dfdc3.tar forums-b24e0f4f69b6436b3a654502d44d15333b0dfdc3.tar.gz forums-b24e0f4f69b6436b3a654502d44d15333b0dfdc3.tar.bz2 forums-b24e0f4f69b6436b3a654502d44d15333b0dfdc3.tar.xz forums-b24e0f4f69b6436b3a654502d44d15333b0dfdc3.zip |
[ticket/11768] Stylistic change. No functional change intended
PHPBB3-11768
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/renderer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/renderer.php b/phpBB/phpbb/textformatter/s9e/renderer.php index 7c69f37371..8999f1d25f 100644 --- a/phpBB/phpbb/textformatter/s9e/renderer.php +++ b/phpBB/phpbb/textformatter/s9e/renderer.php @@ -151,7 +151,7 @@ class renderer implements \phpbb\textformatter\renderer_interface // Set the stylesheet parameters foreach (array_keys($this->renderer->getParameters()) as $param_name) { - if (substr($param_name, 0, 2) === 'L_') + if (strpos($param_name, 'L_') === 0) { // L_FOO is set to $user->lang('FOO') $this->renderer->setParameter($param_name, $user->lang(substr($param_name, 2))); |