From 4e383e2ec8b4184c0fe74d02cf30fd3a4078128e Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 09 Sep 2012 11:35:19 -0400
Subject: [PATCH] Fix PLAIN authentication for some IMAP servers (#1488674)

---
 program/include/rcube_output_html.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_output_html.php b/program/include/rcube_output_html.php
index 9600021..2743e77 100644
--- a/program/include/rcube_output_html.php
+++ b/program/include/rcube_output_html.php
@@ -1297,7 +1297,7 @@
             $attrib['name'] = $attrib['id'];
         }
 
-        $this->set_env('contentframe', $attrib['name']);
+        $this->set_env('contentframe', $attrib['id']);
         $this->set_env('blankpage', $attrib['src'] ? $this->abs_url($attrib['src']) : 'program/resources/blank.gif');
 
         return html::iframe($attrib);

--
Gitblit v1.9.1