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

Avatars in PM report closed notifications are broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-b1
    • 3.1.0-a3
    • Notification System
    • None

      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

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

              Created:
              Updated:
              Resolved: