r101239 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101238‎ | r101239 | r101240 >
Date:01:02, 29 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix private member variable access, use getName(), rather than relying on __get()
Modified paths:
  • /trunk/phase3/includes/media/DjVu.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/DjVu.php
@@ -222,7 +222,7 @@
223223 $image->dejaMetaTree = $tree;
224224 }
225225 } catch( Exception $e ) {
226 - wfDebug( "Bogus multipage XML metadata on '$image->name'\n" );
 226+ wfDebug( "Bogus multipage XML metadata on '{$image->getName()}'\n" );
227227 }
228228 wfRestoreWarnings();
229229 wfProfileOut( __METHOD__ );

Status & tagging log