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

No longer able to define empty template variable using DEFINE

    XMLWordPrintable

    Details

      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: