diff options
author | alecpl <alec@alec.pl> | 2012-04-27 07:13:19 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-27 07:13:19 +0000 |
commit | f4698cbfa1b6c7d3c1b5b88555f85c949c3adbef (patch) | |
tree | f15a1776bb512bce716db30f48446000b6cc4287 /index.php | |
parent | 6da093890c04a112a79724f4e05b708a9c0879e7 (diff) |
- Applied fixes from trunk up to r6129
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -129,6 +129,10 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') { // prevent endless looping on login page if ($query['_task'] == 'login') unset($query['_task']); + + // prevent redirect to compose with specified ID (#1488226) + if ($query['_action'] == 'compose' && !empty($query['_id'])) + $query = array(); } // allow plugins to control the redirect url after login success |