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

No longer able to define empty template variable using DEFINE

XMLWordPrintable

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

      Until switching to twig, one was able to define an empty template variable, e.g.:

      <!-- DEFINE $FOOBAR = '' -->

      This no longer works and causes the following error message:

      Unexpected token "string" of value "" ("end of statement block" expected)

      Only this will currently work:

      <!-- DEFINE $FOOBAR = ' ' -->

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

              Created:
              Updated:
              Resolved: