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

Template event listners can not access subloops when loop is defined in the original file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-b3
    • 3.1.0-b2
    • Template Engine
    • None

      Template file:

      <!-- BEGIN event_loop -->
      event_loop<!-- EVENT test_event_subloop -->
      <!-- END event_loop -->

      Event file:

      <{event_loop.S_ROW_COUNT}<!-- BEGIN subloop --><subloop:{event_loop.subloop.S_ROW_COUNT}>
      <!-- END subloop -->>

      Expected: event_loop<0<subloop:0>>
      Actual: event_loop<0>

            naderman Nils Adermann
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: