Skip to content
Snippets Groups Projects
Unverified Commit 120a2ef2 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #668 from nextcloud/fix/to-cc-undefined-index

Fix undefined indices
parents afb8adbd fc224c38
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