diff --git a/src/app/resource/controllers/SummarySheetController.php b/src/app/resource/controllers/SummarySheetController.php index 51269ce26a2552b27042dfb8aeaf46184567ad5f..920e7853d1ed33747587272cb0c463a5618674f1 100755 --- a/src/app/resource/controllers/SummarySheetController.php +++ b/src/app/resource/controllers/SummarySheetController.php @@ -517,6 +517,8 @@ class SummarySheetController $nbSenders = count($senders); $senders = []; $senders[0] = $nbSenders . ' ' . _CONTACTS; + } elseif (empty($senders)) { + $senders = ['']; } } @@ -530,6 +532,8 @@ class SummarySheetController $nbRecipients = count($recipients); $recipients = []; $recipients[0] = $nbRecipients . ' ' . _CONTACTS; + } elseif (empty($recipients)) { + $recipients = ['']; } }