From 337e654b553e45b5dae42f730e119c94a19f0414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 4 May 2002 07:53:20 +0000 Subject: [PATCH] fixed a wrong test... --- user_details.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_details.php3 b/user_details.php3 index 7880017eb..008a75758 100644 --- a/user_details.php3 +++ b/user_details.php3 @@ -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'); /**