r99325 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99324‎ | r99325 | r99326 >
Date:22:13, 8 October 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
Shut up one fatal
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -633,8 +633,8 @@
634634 }
635635
636636 public function getDefinitionBox() {
637 - $en = $this->getDefinition();
638 - if ( $en === null ) {
 637+ $en = strval( $this->getDefinition() );
 638+ if ( $en === '' ) {
639639 return null;
640640 }
641641

Status & tagging log