Skip to content
Snippets Groups Projects
Unverified Commit fc224c38 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix undefined indices

parent afb8adbd
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ class MessagesController extends Controller {
// This is hacky and should be done on the client-side
if ($mailBox->getSpecialRole() === 'sent') {
$j['from'] = $j['to'];
if((count($j['toList']) > 1) || (count($j['ccList']) > 0)) {
if((count($j['to']) > 1) || (count($j['cc']) > 0)) {
$j['from'] .= ' ' . $this->l10n->t('& others');
}
}
......
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