Fix undefined index notices

This commit is contained in:
Jon Goldberg 2018-01-18 02:13:11 -05:00
parent 9b9d68f4af
commit 6dff727f35

View File

@ -165,7 +165,7 @@ function ParseSenderEmail($from) {
$users[$data[0]] = $data[1];
}
}
if ($users[$email]) {
if (isset($users[$email])) {
$project = $users[$email];
}
return $project;
@ -182,7 +182,7 @@ function ParseSenderDomain($email) {
$domains[$data[0]] = $data[1];
}
}
if($domains[$domain]) {
if(isset($domains[$domain])) {
$project = $domains[$domain];
}
return $project;