r10226 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10225‎ | r10226 | r10227 >
Date:18:26, 21 July 2005
Author:avar
Status:old
Tags:
Comment:
* Fixed bug: Bah, fucking automatic typecasting
Modified paths:
  • /trunk/phase3/includes/Exif.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Exif.php
@@ -951,7 +951,7 @@
952952 * @return string A wfMsg of "exif-$tag-$val" in lower case
953953 */
954954 function msg( $tag, $val, $arg = null ) {
955 - if ($val == '')
 955+ if ($val === '')
956956 $val = 'value';
957957 return wfMsg( strtolower( "exif-$tag-$val" ), $arg );
958958 }

Status & tagging log