Skip to content

Commit

Permalink
replaced defined() by function_exists()
Browse files Browse the repository at this point in the history
GPG signing
  • Loading branch information
FrancoisChaumont committed Aug 19, 2024
1 parent 3214dfc commit a97e9d0
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 a97e9d0

Please sign in to comment.