Skip to content

Commit 900cad1

Browse files
committed
- bugfix for undefined variable
1 parent a1792b4 commit 900cad1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php/email_polling.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ public function executeTriggerCheck($FIREHALLS) {
238238
}
239239

240240
//$valid_email_trigger = validate_email_sender($FIREHALL, $html, $header);
241+
$from = null;
241242
if($header !== null && !empty($header->from) && $header->from[0]->mailbox !== null) {
242243
$from = $header->from[0]->mailbox;
243244
}

0 commit comments

Comments
 (0)