Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14661

Fix a typo in twig.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.10-RC1
    • 3.1.9
    • Template Engine
    • None

      $this->assign_var($template_var, $this->twig->render($this->get_filename_from_handle($handle, $this->get_template_vars())));
      

      I don't know any use cases when the rendered template is assigned to a template variable, but the error is worth fixing.
      The right parenthesis is not in the right place.
      Thanks to PhpStorm.

            Marc Marc
            LavIgor LavIgor [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: