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

Allow isset() check in IF template syntax

    Details

    • Type: New Feature
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.9
    • Fix Version/s: 3.1.0-b2
    • Component/s: Template Engine
    • Labels:

      Description

      Could it be possible to add an isset() check for variables to be used in template if statements?

      So you could do something like:

      <!-- IF isset FOO -->{FOO}<!-- ENDIF -->

      This would be quite useful when you need separate checks to see if a variable is outputted or if it is 0 or false.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              EXreaction EXreaction [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: