Index: trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php |
— | — | @@ -65,7 +65,8 @@ |
66 | 66 | |
67 | 67 | $topid = $thread->topmostThread()->id(); |
68 | 68 | |
69 | | - if ( in_array( $thread->id(), $this->targets[$topid] ) ) |
| 69 | + if ( is_array( $this->targets[$topid] ) && |
| 70 | + in_array( $thread->id(), $this->targets[$topid] ) ) |
70 | 71 | return "$origClass lqt_post_new_message"; |
71 | 72 | |
72 | 73 | return $origClass; |