Skip to content

Commit

Permalink
Fix PHP8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jul 28, 2023
1 parent 5d5da03 commit 401eae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/lib/Roundcube/rcube_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ function tnef_decode(&$part)
$tpart->ctype_secondary = trim(strtolower($winatt['subtype']));
$tpart->mimetype = $tpart->ctype_primary . '/' . $tpart->ctype_secondary;
$tpart->mime_id = 'winmail.' . $part->mime_id . '.' . $pid;
$tpart->size = $winatt['size'];
$tpart->size = !empty($winatt['size']) ? $winatt['size'] : 0;
$tpart->body = $winatt['stream'];

if (!empty($winatt['content-id'])) {
Expand Down

0 comments on commit 401eae0

Please sign in to comment.