Minor followup to r60744, fix for comment 2
authorSam Reed <reedy@users.mediawiki.org>
Wed, 6 Jan 2010 21:27:25 +0000 (21:27 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 6 Jan 2010 21:27:25 +0000 (21:27 +0000)
includes/GlobalFunctions.php

index f5b33d7..306498e 100644 (file)
@@ -1285,7 +1285,7 @@ function wfArrayToCGI( $array1, $array2 = null )
 
        $cgi = '';
        foreach ( $array1 as $key => $value ) {
-               if ( $value != '' ) {
+               if ( $value !== '' ) {
                        if ( $cgi != '' ) {
                                $cgi .= '&';
                        }