Skip to content

Commit

Permalink
- bugfix for undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
softcoder committed Jul 9, 2024
1 parent a1792b4 commit 900cad1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php/email_polling.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ public function executeTriggerCheck($FIREHALLS) {
}

//$valid_email_trigger = validate_email_sender($FIREHALL, $html, $header);
$from = null;
if($header !== null && !empty($header->from) && $header->from[0]->mailbox !== null) {
$from = $header->from[0]->mailbox;
}
Expand Down

0 comments on commit 900cad1

Please sign in to comment.