From 712017824bb58d5cb9356b3a19270e7f4ec49f88 Mon Sep 17 00:00:00 2001 From: quix0r Date: Sat, 21 Nov 2009 17:21:08 +0000 Subject: [PATCH] Workaround for missing function, this will be better in 0.3.0 --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5