From: Ævar Arnfjörð Bjarmason Date: Wed, 20 Jul 2005 20:45:17 +0000 (+0000) Subject: * Typo: $max was repeated in the prototype X-Git-Tag: 1.5.0beta4~88 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=c9b7eed48bc4d7de38558b6b4f28c53d2f74376c;p=lhc%2Fweb%2Fwiklou.git * Typo: $max was repeated in the prototype --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 066db60ae5..60444f3e71 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -146,7 +146,7 @@ class PreferencesForm { /** * @access private */ - function validateDate( &$val, $min = 0, $max = 0, $max=0x7fffffff ) { + function validateDate( &$val, $min = 0, $max=0x7fffffff ) { if ( ( sprintf('%d', $val) === $val && $val >= $min && $val <= $max ) || $val == 'ISO 8601' ) return $val; else