summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-24 17:50:03 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-24 17:50:03 +0000
commitfe31b4adf8a86e1ec0fd03061d585ec069894254 (patch)
treed184fcb7a143a944f70847b3c051851bd4918e2f
parent22357f3ba8e7f20217d3dccf2fe797f4a783200d (diff)
- Read _unlock from POST too
git-svn-id: https://svn.roundcube.net/trunk@4876 208e9e7b-5314-0410-a742-e7e81cd9613c
-rwxr-xr-xroundcubemail/program/include/rcube_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php
index 6d6c21e87..39b22826a 100755
--- a/roundcubemail/program/include/rcube_template.php
+++ b/roundcubemail/program/include/rcube_template.php
@@ -329,7 +329,7 @@ class rcube_template extends rcube_html_page
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));
}