diff --git a/modules/registrars/cozaepp/cozaepp.php b/modules/registrars/cozaepp/cozaepp.php index 372ab9f75f0fdb1a43aa4cfec43f42eeac32d314..6697413a0a32092ea74981d6c56010f3ef0526a3 100644 --- a/modules/registrars/cozaepp/cozaepp.php +++ b/modules/registrars/cozaepp/cozaepp.php @@ -1312,7 +1312,7 @@ function _cozaepp_Client() { $context = stream_context_create(); # Are we using ssl? $use_ssl = false; - if (!empty($params['SSL']) && $params['SSL'] == 'on') { + if (!empty($params['SSL']) && ( $params['SSL'] == 1 || $params['SSL'] == 'on' )) { $use_ssl = true; } # Set certificate if we have one @@ -1823,5 +1823,4 @@ function cozaepp_RejectTransfer($params) { } return $values; -} - +} \ No newline at end of file