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

Avatars in PM report closed notifications are broken

    XMLWordPrintable

Details

    Description

      Notifications that are supposed to contain an avatar are broken. The practical result of this is that a user who should see such a notification instead receives a whitepage across the forum.

      Trace:

      PHP Fatal error:  Call to undefined method phpbb\\notification\\type\\report_pm_closed::get_user_avatar() in ...phpBB/phpbb/notification/type/report_pm_closed.php on line 117
      PHP Stack trace:
      PHP   1. {main}() ...phpBB/index.php:0
      PHP   2. page_header() ...phpBB/index.php:196
      PHP   3. phpbb\\notification\\type\\base->prepare_for_display() ...phpBB/includes/functions.php:4889
      PHP   4. phpbb\\notification\\type\\report_pm_closed->get_avatar() ...phpBB/phpbb/notification/type/base.php:301

      Attachments

        Activity

          People

            prototech prototech [X] (Inactive)
            Marshalrusty Yuriy Rusko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: