From: Antoine Musso Date: Sun, 14 Nov 2004 22:50:24 +0000 (+0000) Subject: small typo (missing '$' for a variable name) X-Git-Tag: 1.5.0alpha1~1329 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=f4d90ddc4be034e36cb158473f2580635e1e3ad2;p=lhc%2Fweb%2Fwiklou.git small typo (missing '$' for a variable name) --- diff --git a/maintenance/archives/convertdb.php b/maintenance/archives/convertdb.php index 240a3c3f09..7dd07ce806 100644 --- a/maintenance/archives/convertdb.php +++ b/maintenance/archives/convertdb.php @@ -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; } diff --git a/maintenance/importPhase2.php b/maintenance/importPhase2.php index a3b145ec42..5d87475935 100644 --- a/maintenance/importPhase2.php +++ b/maintenance/importPhase2.php @@ -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; }