diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-03 02:52:40 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:02 +0200 |
commit | 40340004aac7ac1752c90a1dbca1faa486e668b9 (patch) | |
tree | 881604592953afcad9abc1da709bdf4171795b5f /phpBB/phpbb | |
parent | 5fe8c6b6f5080c7e174882d279beb2b84ddd01ab (diff) | |
download | forums-40340004aac7ac1752c90a1dbca1faa486e668b9.tar forums-40340004aac7ac1752c90a1dbca1faa486e668b9.tar.gz forums-40340004aac7ac1752c90a1dbca1faa486e668b9.tar.bz2 forums-40340004aac7ac1752c90a1dbca1faa486e668b9.tar.xz forums-40340004aac7ac1752c90a1dbca1faa486e668b9.zip |
[ticket/11768] Replaced some references
PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/factory.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php index a7cf2d89b8..66dba14ac0 100644 --- a/phpBB/phpbb/textformatter/s9e/factory.php +++ b/phpBB/phpbb/textformatter/s9e/factory.php @@ -354,20 +354,18 @@ class factory implements \phpbb\textformatter\cache } // Replace custom tokens and normalize templates - foreach ($templates as $bbcode_name => &$style_templates) + foreach ($templates as $bbcode_name => $style_templates) { - foreach ($style_templates as &$template) + foreach ($style_templates as $i => $template) { if (isset($this->custom_tokens[$bbcode_name])) { $template = strtr($template, $this->custom_tokens[$bbcode_name]); } - $template = $configurator->templateNormalizer->normalizeTemplate($template); + $templates[$bbcode_name][$i] = $configurator->templateNormalizer->normalizeTemplate($template); } - unset($template); } - unset($style_templates); $bbcodes = array(); foreach ($this->default_definitions as $bbcode_name => $usage) |