From: Chad Horohoe Date: Thu, 21 Aug 2008 20:20:15 +0000 (+0000) Subject: Use wfEmptyMsg() instead of !$message. X-Git-Tag: 1.31.0-rc.0~45732 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=bd31a86947aab50d8bdcf211f6138f95a31706ec;p=lhc%2Fweb%2Fwiklou.git Use wfEmptyMsg() instead of !$message. --- diff --git a/includes/HTMLDiff.php b/includes/HTMLDiff.php index 34bdc33940..ef9e0aabad 100644 --- a/includes/HTMLDiff.php +++ b/includes/HTMLDiff.php @@ -1268,7 +1268,7 @@ class TagToString { protected function translateArgument($name) { $translation = wfMsgExt('diff-' . $name, 'parseinline' ); - if(!$translation){ + if ( wfEmptyMsg( 'diff-' . $name, $translation ) ) { $translation = $name; } return htmlspecialchars( $translation );