phpBB

Code Changes

File: phpbb/template/twig/tokenparser/includephp.php

  Unmodified   Added   Modified   Removed
Line 13Line 13
*/

namespace phpbb\template\twig\tokenparser;

*/

namespace phpbb\template\twig\tokenparser;



 

class includephp extends \Twig_TokenParser
{


class includephp extends \Twig_TokenParser
{

Line 31Line 30
		$stream = $this->parser->getStream();

$ignoreMissing = false;

		$stream = $this->parser->getStream();

$ignoreMissing = false;

		if ($stream->test(\Twig_Token::NAME_TYPE, 'ignore')) {


		if ($stream->test(\Twig_Token::NAME_TYPE, 'ignore'))
{

			$stream->next();
$stream->expect(\Twig_Token::NAME_TYPE, 'missing');


			$stream->next();
$stream->expect(\Twig_Token::NAME_TYPE, 'missing');