Skip to content

Commit 136e0c5

Browse files
authored
Merge pull request #1174 from FrancoisChaumont/fix--defined()-use-for-function
fix: cannot override `emailer()` function
2 parents 3214dfc + a97e9d0 commit 136e0c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/email_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use CodeIgniter\Email\Email;
1515

16-
if (! defined('emailer')) {
16+
if (! function_exists('emailer')) {
1717
/**
1818
* Provides convenient access to the CodeIgniter Email class.
1919
*

0 commit comments

Comments
 (0)