Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14661

Fix a typo in twig.php

    XMLWordPrintable

    Details

      Description

      $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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: