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. *