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

Avatars in PM report closed notifications are broken

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-a3
    • Fix Version/s: 3.1.0-b1
    • Component/s: Notification System
    • Labels:
      None

      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            prototech prototech
            Reporter:
            Marshalrusty Yuriy Rusko
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development