Skip to content

Commit

Permalink
Merge pull request #1174 from FrancoisChaumont/fix--defined()-use-for…
Browse files Browse the repository at this point in the history
…-function

fix: cannot override `emailer()` function
  • Loading branch information
kenjis authored Aug 20, 2024
2 parents 3214dfc + a97e9d0 commit 136e0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/email_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use CodeIgniter\Email\Email;

if (! defined('emailer')) {
if (! function_exists('emailer')) {
/**
* Provides convenient access to the CodeIgniter Email class.
*
Expand Down

0 comments on commit 136e0c5

Please sign in to comment.