diff options
author | Aleksander Machniak <alec@alec.pl> | 2022-08-09 20:10:33 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2022-08-09 20:10:33 +0300 |
commit | 864e0710a355f3850e61583a2134e28e935aa59a (patch) | |
tree | 71fbcab1870a2bd028875539952f09e83797a2a6 /program | |
parent | 69b82f8f527d9f8de2a689f1e311c0cc7a042a06 (diff) |
Fix PHP8 warning (#8647)
Diffstat (limited to 'program')
-rw-r--r-- | program/actions/mail/index.php | 5 |
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; } |