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

Regression: using underscores in template DEFINE variables yields unexpected behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-a1
    • 3.1.0-dev
    • Template Engine
    • None

      Since 'DEFINE.+=' was changed to 'DEFINE \$[a-zA-Z0-9]+ =', DEFINE variables with underscores in them are not processed by phpbb_template_twig_lexer::fix_inline_variable_tokens() anymore. Seeing how the stock template files use more DEFINE vars with underscores in them than without, I'd say this isn't intended behaviour .

            EXreaction EXreaction [X] (Inactive)
            rechosen rechosen [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: