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

No longer able to define empty template variable using DEFINE

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Template Engine
    • Labels:
      None

      Description

      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 = ' ' -->

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: