From bd31a86947aab50d8bdcf211f6138f95a31706ec Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 21 Aug 2008 20:20:15 +0000 Subject: [PATCH] Use wfEmptyMsg() instead of !$message. --- includes/HTMLDiff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1