r90556 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90555‎ | r90556 | r90557 >
Date:22:44, 21 June 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: Fix fatal in dashboard
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/ArticleFeedback/SpecialArticleFeedback.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/ArticleFeedback/SpecialArticleFeedback.php
@@ -125,6 +125,9 @@
126126 foreach ( $pages as $page ) {
127127 $row = array();
128128 $pageTitle = self::getTitleFromID( $page['page'] );
 129+ if ( !$pageTitle ) {
 130+ continue;
 131+ }
129132 $row['page'] = $wgUser->getSkin()->link( $pageTitle, $pageTitle->getPrefixedText() );
130133 foreach ( $page['ratings'] as $id => $value ) {
131134 $row[] = array(

Follow-up revisions

RevisionCommit summaryAuthorDate
r92101ArticleFeedback: Merge r90556 from 1.17wmf1 to trunk: fix fatal in dashboardcatrope21:58, 13 July 2011

Status & tagging log