Skip to content

Commit

Permalink
fix version comparison operator (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
partikus authored Sep 30, 2020
1 parent f115739 commit 4306451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zend-xml/library/Zend/Xml/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public static function isPhpFpm()
$isVulnerableVersion = (
version_compare(PHP_VERSION, '5.5.22', 'lt')
|| (
version_compare(PHP_VERSION, '5.6', 'gte')
version_compare(PHP_VERSION, '5.6', 'ge')
&& version_compare(PHP_VERSION, '5.6.6', 'lt')
)
);
Expand Down

0 comments on commit 4306451

Please sign in to comment.