Skip to content
Snippets Groups Projects
Commit 62da338a authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: filter: Ensure recipients exist

parent d43ee0a8
No related branches found
No related tags found
No related merge requests found
...@@ -694,7 +694,7 @@ class TicketFilter { ...@@ -694,7 +694,7 @@ class TicketFilter {
if (in_array($k, $interest)) if (in_array($k, $interest))
$this->vars[$k] = trim($v); $this->vars[$k] = trim($v);
} }
if (isset($vars['recipients'])) { if (isset($vars['recipients']) && $vars['recipients']) {
foreach ($vars['recipients'] as $r) { foreach ($vars['recipients'] as $r) {
$this->vars['addressee'][] = $r['name']; $this->vars['addressee'][] = $r['name'];
$this->vars['addressee'][] = $r['email']; $this->vars['addressee'][] = $r['email'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment