-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
PHP Version
8.3
CodeIgniter4 Version
4.5.4
Shield Version
dev-develop 223fbd9
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
MySQL 8.0.39
Did you customize Shield?
No
What happened?
In an attempt to create an email_helper and override the emailer function the system produces an error trying to redefine that function because the verification of a previously defined function of identical name is done using defined instead of function_exists.
Steps to Reproduce
Copy codeigniter4/shield/src/email_helper.php into app/Helpers
Expected Output
No error when overriding the emailer function
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working