From 72bc549bdade89eba7f0e37cf40e4964ea8b9f73 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 4 Sep 2006 18:06:28 +0000 Subject: [PATCH] Wrong variable name used git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11679 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index 7a3ef3e6..8d6d27ee 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -769,7 +769,7 @@ function sqimap_login ($username, $password, $imap_server_address, $imap_port, $ } if (!isset($sqimap_capabilities)) { - sqgetglobalvar('sqimap_capabilities' , $capability , SQ_SESSION ); + sqgetglobalvar('sqimap_capabilities' , $sqimap_capabilities , SQ_SESSION ); } $host = $imap_server_address; @@ -835,7 +835,7 @@ function sqimap_login ($username, $password, $imap_server_address, $imap_port, $ * **/ $tag=sqimap_session_id(false); - $sasl = (isset($capability['SASL-IR']) && $capability['SASL-IR']) ? true : false; + $sasl = (isset($sqimap_capabilities['SASL-IR']) && $sqimap_capabilities['SASL-IR']) ? true : false; $auth = base64_encode("$username\0$username\0$password"); if ($sasl) { // IMAP Extension for SASL Initial Client Response -- 2.25.1