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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-RC5
    • 3.1.0-RC3
    • None

      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.

            Marc Marc
            Dionisiy Dionisiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: