Skip to content

Commit

Permalink
GopayHelper: repair condition
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Dec 23, 2016
1 parent d953b47 commit 083c587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GopayHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ private static function crypt()
if (self::$crypt === NULL) {
if (extension_loaded('openssl') && PHP_VERSION_ID >= 50400) {
self::$crypt = new Crypt\OpenSSL();
} elseif (extension_loaded('mcrypt') && PHP_VERSION_ID >= 70000) {
} elseif (extension_loaded('mcrypt') && PHP_VERSION_ID < 70000) {
self::$crypt = new Crypt\MCrypt();
} else {
throw new \Exception('Cannot load Crypt implementation.');
Expand Down

0 comments on commit 083c587

Please sign in to comment.