Skip to content

Commit

Permalink
Prevent substitution attack.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenglish7 committed Mar 21, 2018
1 parent 1247699 commit 01ccbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Email/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function __construct(array $options = [])
}
} else {
if ($option == 'show_errors') {
if (!is_bool((bool) $val)) {
if (!\is_bool((bool) $val)) {
goto doError;
}
goto skipError;
Expand Down

0 comments on commit 01ccbf3

Please sign in to comment.