[Svn] r4876 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Fri Jun 24 19:50:06 CEST 2011


Author: alec
Date: 2011-06-24 12:50:03 -0500 (Fri, 24 Jun 2011)
New Revision: 4876

Modified:
   trunk/roundcubemail/program/include/rcube_template.php
Log:
- Read _unlock from POST too


Modified: trunk/roundcubemail/program/include/rcube_template.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_template.php	2011-06-23 17:43:44 UTC (rev 4875)
+++ trunk/roundcubemail/program/include/rcube_template.php	2011-06-24 17:50:03 UTC (rev 4876)
@@ -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));
         }

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list