r52879 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52878‎ | r52879 | r52880 >
Date:00:35, 8 July 2009
Author:aaron
Status:ok
Tags:
Comment:
Fixed fatal error breakage (bug 19562)
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -1467,7 +1467,8 @@
14681468 return $out;
14691469 }
14701470 // Allow for site and per-namespace customization of copyright notice.
1471 - wfRunHooks( 'SkinCopyrightFooter', array( $wgArticle->getTitle(), $type, &$msg, &$link ) );
 1471+ if( isset($wgArticle) )
 1472+ wfRunHooks( 'SkinCopyrightFooter', array( $wgArticle->getTitle(), $type, &$msg, &$link ) );
14721473
14731474 $out .= wfMsgForContent( $msg, $link );
14741475 return $out;

Follow-up revisions

RevisionCommit summaryAuthorDate
r54493Merge fatal error fix from trunk r52879brion22:44, 5 August 2009

Status & tagging log