Skip to content

Commit 64258e8

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [Finder] Fix gitignore regex build with "**" Fixed deprecation warnings about passing null as parameter [Security] Keep Bulgarian wording consistent across all texts. Migrate configuration file for PHP CS Fixer 2.19/3.0 [Form] Replace broken ServerParams mock
2 parents 7af452b + 7e8e919 commit 64258e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public function priority(int $priority)
266266
*/
267267
public function getPriority(): int
268268
{
269-
[$priority] = sscanf($this->getHeaders()->getHeaderBody('X-Priority'), '%[1-5]');
269+
[$priority] = sscanf($this->getHeaders()->getHeaderBody('X-Priority') ?? '', '%[1-5]');
270270

271271
return $priority ?? 3;
272272
}

0 commit comments

Comments
 (0)