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

Wrong hook name is registered for array(template, display)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC3
    • Fix Version/s: 3.1.0-RC5
    • Component/s: None
    • Labels:

      Description

      phpbb\template\base->call_hook() launches hook
      array('phpbb\template\base', 'display')
      but /common.php registers another hook name:
      array('\phpbb\template\template', 'display')

      So template display hook (former array(template', display') in phpBB 3.0.x) is not actually launched.

        Attachments

          Activity

            People

            Assignee:
            Marc Marc
            Reporter:
            Dionisiy Dionisiy [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: