diff options
author | alecpl <alec@alec.pl> | 2012-04-27 07:24:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-27 07:24:24 +0000 |
commit | 77799d87ba05a8e96d604693dcfa003b5835fe2b (patch) | |
tree | a4392e9c12020be497e87c41a48c93da95cc737f /index.php | |
parent | cba69dd9777bf6c8d6ab5368da7e349e4cf60832 (diff) |
- Applied some fixes from trunk
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -119,6 +119,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 |