Commit 74c6eafb authored by Andrei Ivnitskii's avatar Andrei Ivnitskii
Browse files

Issue #3300251 by Christopher Riley, ivnish: Warning Notices when accessing messges tab

parent d8534b92
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -103,8 +103,12 @@ class MessagesForm extends FormBase {
    ];

    $options = [];

    $threads = $this->privateMsgService->getThreadsByUserId($current_user->id());

    if ($threads) {
      $threads = $this->pagerArray($threads, 10);
    }

    foreach ($threads as $thread) {
      $participant_id = $this->privateMsgService->getThreadParticipantByThreadId($thread['thread_id'], $current_user->id());