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

$VAR = false has unexpected result

XMLWordPrintable

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

      Code:

      <!-- DEFINE $VAR = false -->
      <!-- IF $VAR -->
      true
      <!-- ELSE -->
      false
      <!-- ENDIF -->
      

      Expected: false
      Result: true

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

              Created:
              Updated:
              Resolved: