From eb33104ec5f72efb76c8809f8268e9fd1bf34723 Mon Sep 17 00:00:00 2001 From: Francois Chaumont Date: Mon, 19 Aug 2024 22:20:23 +0100 Subject: [PATCH] replaced defined() by function_exists() --- src/Helpers/email_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helpers/email_helper.php b/src/Helpers/email_helper.php index 35a28908b..8fd51c6ba 100644 --- a/src/Helpers/email_helper.php +++ b/src/Helpers/email_helper.php @@ -13,7 +13,7 @@ use CodeIgniter\Email\Email; -if (! defined('emailer')) { +if (! function_exists('emailer')) { /** * Provides convenient access to the CodeIgniter Email class. *