oops :)
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 10 Jul 2003 05:19:29 +0000 (05:19 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 10 Jul 2003 05:19:29 +0000 (05:19 +0000)
includes/Article.php

index f0def94..aedebdb 100644 (file)
@@ -1667,7 +1667,7 @@ name=\"wpSummary\" maxlength=200 size=60><br>
        
        function saveToFileCache( $text ) {
                global $wgUseGzip, $wgCompressByDefault;
-               if(length($text) == 0) return "";
+               if(strcmp($text,"") == 0) return "";
                
         wfDebug(" saveToFileCache()\n", false);
                $filename=$this->fileCacheName();