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

$template->display hook does not pass $template instance

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.8
    • 3.0.9-RC1
    • Other
    • None

    Description

      The $template->display hook does not provide access to the $template instance that is being used. This leads to issues when sending emails, because the emails do not use the global $template but still utilise the template system.

      An easy solution to this problem is to pass $this (the template instance) into the hook as an argument.

      Attachments

        Activity

          People

            igorw Igor Wiedler [X] (Inactive)
            igorw Igor Wiedler [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: