Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2021-05-21 15:56:59 +0300
committerAleksander Machniak <alec@alec.pl>2021-05-21 15:56:59 +0300
commit0d676625d8f333971011235bace8d03776d6951f (patch)
tree5be4ffd56e340c6ba346db4aaaaad02005a8e802 /index.php
parent24fc958f03179b403306a63c91ec59c6348a2360 (diff)
Fix PHP8 warning
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 56a00cced..1fb7aba5f 100644
--- a/index.php
+++ b/index.php
@@ -140,7 +140,7 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') {
parse_str($url, $query);
// prevent endless looping on login page
- if ($query['_task'] == 'login') {
+ if (!empty($query['_task']) && $query['_task'] == 'login') {
unset($query['_task']);
}