mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-15 04:26:49 +01:00
Fix some PHP8 warnings (#8239)
This commit is contained in:
@@ -229,7 +229,7 @@ class rcmail_attachment_handler
|
||||
}
|
||||
}
|
||||
else {
|
||||
$data = $attachment['data'];
|
||||
$data = $attachment['data'] ?? '';
|
||||
if (!$data && $attachment['path']) {
|
||||
$data = file_get_contents($attachment['path']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user