Skip to content
Snippets Groups Projects
Verified Commit df509aaa authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12091 TIME 0:20 only header if sender is empty

parent 9c1e1348
No related branches found
No related tags found
No related merge requests found
...@@ -517,6 +517,8 @@ class SummarySheetController ...@@ -517,6 +517,8 @@ class SummarySheetController
$nbSenders = count($senders); $nbSenders = count($senders);
$senders = []; $senders = [];
$senders[0] = $nbSenders . ' ' . _CONTACTS; $senders[0] = $nbSenders . ' ' . _CONTACTS;
} elseif (empty($senders)) {
$senders = [''];
} }
} }
...@@ -530,6 +532,8 @@ class SummarySheetController ...@@ -530,6 +532,8 @@ class SummarySheetController
$nbRecipients = count($recipients); $nbRecipients = count($recipients);
$recipients = []; $recipients = [];
$recipients[0] = $nbRecipients . ' ' . _CONTACTS; $recipients[0] = $nbRecipients . ' ' . _CONTACTS;
} elseif (empty($recipients)) {
$recipients = [''];
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment