31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-05-29 03:50:46 +00:00

Correct a wrong value

This commit is contained in:
Nikolai Plath 2012-06-12 15:38:53 -05:00
parent c8f48c3361
commit 12173df0a3

View File

@ -28,10 +28,10 @@ class PatchtesterViewPulls extends JView
//@TODO: move the check
$checkErrs = array();
if(true == extension_loaded ('openssl'))
if(false == extension_loaded ('openssl'))
$checkErrs[] = 'The OpenSSL extension must be installed and enabled in your php.ini';
if(true == in_array('https', stream_get_wrappers()))
if(false == in_array('https', stream_get_wrappers()))
$checkErrs[] = 'https wrappers must be enabled';
if (count($checkErrs))