X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-extensions.php;h=a9403850a7f71d8f408bb2a1ab5cab0998a9e4b0;hp=94a7c2238b85c7d4a8435f0e4542e3ada8d29a4b;hb=c85ddc06cc16f2cd38ddd7d4c142a3f578bbab69;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa diff --git a/inc/modules/admin/what-extensions.php b/inc/modules/admin/what-extensions.php index 94a7c2238b..a9403850a7 100644 --- a/inc/modules/admin/what-extensions.php +++ b/inc/modules/admin/what-extensions.php @@ -323,7 +323,7 @@ ORDER BY `ext_name` ASC", __FILE__, __LINE__); // ... so we can finally register and load it in registration mode if (registerExtension($ext_name, $ext_id)) { // Errors? - if (getTotalFatalErrors() == '0') { + if (!ifFatalErrorsDetected()) { // Extension was found and successfully registered loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_EXTENSION_REGISTERED', $ext_name));