small typo (missing '$' for a variable name)
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 14 Nov 2004 22:50:24 +0000 (22:50 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 14 Nov 2004 22:50:24 +0000 (22:50 +0000)
maintenance/archives/convertdb.php
maintenance/importPhase2.php

index 240a3c3..7dd07ce 100644 (file)
@@ -456,7 +456,7 @@ function fixUserOptions( $in )
        if ( "yes" == $s || "on" == $s ) { $nops["hover"] = 1; }
 
        $c = $ops["cols"];
-       if ( $c < 20 || c > 200 ) { $nops["cols"] = 80; }
+       if ( $c < 20 || $c > 200 ) { $nops["cols"] = 80; }
        else { $nops["cols"] = $c; }
        $r = $ops["rows"];
        if ( $r < 5 || $r > 100 ) { $nops["rows"] = 20; }
index a3b145e..5d87475 100644 (file)
@@ -281,7 +281,7 @@ class Phase2Importer {
                if ( "yes" == $s || "on" == $s ) { $nops["hover"] = 1; }
        
                $c = $ops["cols"];
-               if ( $c < 20 || c > 200 ) { $nops["cols"] = 80; }
+               if ( $c < 20 || $c > 200 ) { $nops["cols"] = 80; }
                else { $nops["cols"] = $c; }
                $r = $ops["rows"];
                if ( $r < 5 || $r > 100 ) { $nops["rows"] = 20; }