From: Jens Frank Date: Tue, 12 Oct 2004 10:07:31 +0000 (+0000) Subject: Catch error 2000, too. Some mysql servers return 2000 instead of 1045 X-Git-Tag: 1.5.0alpha1~1573 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=60d7819026219c13ae3a72a258df77471df0824d;p=lhc%2Fweb%2Fwiklou.git Catch error 2000, too. Some mysql servers return 2000 instead of 1045 --- diff --git a/config/index.php b/config/index.php index 4aaaa9fbc4..920edc712e 100644 --- a/config/index.php +++ b/config/index.php @@ -397,6 +397,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { $ok = false; switch( $err ) { case 1045: + case 2000: if( $conf->Root ) { $errs["RootPW"] = "Check password"; } else {