]> git.mxchange.org Git - mailer.git/commitdiff
Workaround for missing function, this will be better in 0.3.0
authorRoland Häder <roland@mxchange.org>
Sat, 21 Nov 2009 17:21:08 +0000 (17:21 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 21 Nov 2009 17:21:08 +0000 (17:21 +0000)
inc/functions.php

index 6b7a1b6138e3948d5e5de7e2721e38052c768f8f..6aedaf61bf7035fc788aab0b4f89739475093129 100644 (file)
@@ -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 {