1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 10:44:20 +02:00

[ticket/13454] Fix a few issues introduced by overdeleting stuff

PHPBB3-13454
This commit is contained in:
Marc Alexander
2015-12-04 14:03:43 +01:00
parent 266576c6a4
commit 38f3688217
3 changed files with 8 additions and 1 deletions

View File

@@ -51,6 +51,8 @@ class parser implements \phpbb\textformatter\parser_interface
$this->dispatcher = $dispatcher;
$this->parser = $parser;
$parser = $this;
/**
* Configure the parser service
*
@@ -72,6 +74,8 @@ class parser implements \phpbb\textformatter\parser_interface
*/
public function parse($text)
{
$parser = $this;
/**
* Modify a text before it is parsed
*