From 5bfa4445d52fc831330600e581656142b30f0ca3 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 24 Jun 2011 13:50:03 -0400
Subject: [PATCH] - Read _unlock from POST too

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

diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 6d6c21e..39b2282 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -329,7 +329,7 @@
     public function write($template = '')
     {
         // unlock interface after iframe load
-        $unlock = preg_replace('/[^a-z0-9]/i', '', $_GET['_unlock']);
+        $unlock = preg_replace('/[^a-z0-9]/i', '', $_REQUEST['_unlock']);
         if ($this->framed) {
             array_unshift($this->js_commands, array('set_busy', false, null, $unlock));
         }

--
Gitblit v1.9.1