From ee8c06cd56d5ff258fb2625435517470625b8ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 25 Oct 2002 13:55:31 +0000 Subject: [PATCH] PHP3 fix --- libraries/auth/cookie.auth.lib.php3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/auth/cookie.auth.lib.php3 b/libraries/auth/cookie.auth.lib.php3 index e924ba649..5d8ce5798 100644 --- a/libraries/auth/cookie.auth.lib.php3 +++ b/libraries/auth/cookie.auth.lib.php3 @@ -2,6 +2,7 @@ /* $Id$ */ // vim: expandtab sw=4 ts=4 sts=4: + // +--------------------------------------------------------------------------+ // | Set of functions used to run cookie based authentication. | // | Thanks to Piotr Roszatycki and | @@ -393,7 +394,7 @@ if (uname.value == '') { $GLOBALS['is_https']); // Duration = till the browser is closed for password setcookie('pma_cookie_password', - (!empty($cfg['Server']['password'])) ? $cfg['Server']['password'] : "\xff(blank)", + ((!empty($cfg['Server']['password'])) ? $cfg['Server']['password'] : "\xff(blank)"), 0, $GLOBALS['cookie_path'], '', $GLOBALS['is_https']);