diff options
author | alecpl <alec@alec.pl> | 2012-04-26 12:23:41 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-26 12:23:41 +0000 |
commit | d2191c619f261c4149b0a8949d35167b9269f00b (patch) | |
tree | 1ae8c141e1a8f1fbe98f6843fb3f9819cf6cdf20 | |
parent | ee5569ccca9ed46af79db74e5d30bed901e939ff (diff) |
- Fix redirect to mail/compose on re-login (1488226)
-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 |