fixed a wrong test...

This commit is contained in:
Loïc Chapeaux
2002-05-04 07:53:20 +00:00
parent 649d5c317b
commit 337e654b55

View File

@@ -981,7 +981,7 @@ if (mysql_error()) {
exit();
}
$result = @mysql_query('SELECT COUNT(Password) FROM mysql.user');
$password_field = ((!$result || mysql_result($result, 0)) ? 'Password' : 'password');
$password_field = (($result && mysql_result($result, 0)) ? 'Password' : 'password');
/**