r57919 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57918‎ | r57919 | r57920 >
Date:21:31, 19 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix warnings
Modified paths:
  • /trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php
@@ -65,7 +65,8 @@
6666
6767 $topid = $thread->topmostThread()->id();
6868
69 - if ( in_array( $thread->id(), $this->targets[$topid] ) )
 69+ if ( is_array( $this->targets[$topid] ) &&
 70+ in_array( $thread->id(), $this->targets[$topid] ) )
7071 return "$origClass lqt_post_new_message";
7172
7273 return $origClass;

Status & tagging log