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>2022-08-09 20:10:33 +0300
committerAleksander Machniak <alec@alec.pl>2022-08-09 20:10:33 +0300
commit864e0710a355f3850e61583a2134e28e935aa59a (patch)
tree71fbcab1870a2bd028875539952f09e83797a2a6 /program
parent69b82f8f527d9f8de2a689f1e311c0cc7a042a06 (diff)
Fix PHP8 warning (#8647)
Diffstat (limited to 'program')
-rw-r--r--program/actions/mail/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/actions/mail/index.php b/program/actions/mail/index.php
index 269d34178..d142c7a12 100644
--- a/program/actions/mail/index.php
+++ b/program/actions/mail/index.php
@@ -549,9 +549,12 @@ class rcmail_action_mail_index extends rcmail_action
$cont = rcube::SQ($last_folder_name);
}
- else {
+ else if (isset($header->$col)) {
$cont = rcube::SQ($header->$col);
}
+ else {
+ $cont = '';
+ }
$a_msg_cols[$col] = $cont;
}