From: Roland Häder Date: Sat, 21 Nov 2009 17:21:08 +0000 (+0000) Subject: Workaround for missing function, this will be better in 0.3.0 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b588c34843bbad5824375f7a9a3f408a17ca026c;p=mailer.git Workaround for missing function, this will be better in 0.3.0 --- diff --git a/inc/functions.php b/inc/functions.php index 6b7a1b6138..6aedaf61bf 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2847,7 +2847,7 @@ function changeDataInFile ($FQFN, $comment, $prefix, $suffix, $DATA, $seek=0) { } // Send notification to admin function sendAdminNotification ($subject, $templateName, $content=array(), $userid = '0') { - if (isExtensionInstalledAndNewer('admins', '0.4.1')) { + if ((isExtensionInstalledAndNewer('admins', '0.4.1')) && (function_exists('sendAdminsEmails'))) { // Send new way sendAdminsEmails($subject, $templateName, $content, $userid); } else {