Commit f1841105 authored by mattwire's avatar mattwire

Fix check for onlineworldpay extension is installed

parent 83b17326
......@@ -21,7 +21,7 @@ class CRM_Mjwshared_Check {
'full_name' => 'uk.co.nfpservice.onlineworldpay',
]);
if (empty($extensions['id']) || ($extensions['values'][$extensions['id']]['status'] === 'installed')) {
if (!empty($extensions['id']) && ($extensions['values'][$extensions['id']]['status'] === 'installed')) {
$messages[] = new CRM_Utils_Check_Message(
'mjwshared_incompatible',
E::ts('You have the uk.co.nfpservice.onlineworldpay extension installed.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment