summaryrefslogtreecommitdiff
path: root/program/include/rcube_template.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-15 07:01:36 +0000
committeralecpl <alec@alec.pl>2009-06-15 07:01:36 +0000
commit3a2b270c9d1f531c2e2d1c422a4756afd639ef47 (patch)
tree5a591df3eb514a68e2c2b25e75ab82aa4ba32575 /program/include/rcube_template.php
parent9d147c8d12d45b58afabb1b996ff974669afd98c (diff)
- always call logout action as task (#1485919)
Diffstat (limited to 'program/include/rcube_template.php')
-rwxr-xr-xprogram/include/rcube_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 3d0e7390a..455bbcfd2 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -969,7 +969,7 @@ class rcube_template extends rcube_html_page
// save original url
$url = get_input_value('_url', RCUBE_INPUT_POST);
- if (empty($url) && !preg_match('/_action=logout/', $_SERVER['QUERY_STRING']))
+ if (empty($url) && !preg_match('/_(task|action)=logout/', $_SERVER['QUERY_STRING']))
$url = $_SERVER['QUERY_STRING'];
$input_user = new html_inputfield(array('name' => '_user', 'id' => 'rcmloginuser', 'size' => 30) + $attrib);