We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2510c6 commit c16843fCopy full SHA for c16843f
lib/functions.php
@@ -5819,6 +5819,10 @@ function split_emaildetail($email) {
5819
$rname = '';
5820
$rmail = '';
5821
5822
+ if (!is_array($email)) {
5823
+ $email = trim($email);
5824
+ }
5825
+
5826
/**
5827
* Handle the special case where sendmail is being used
5828
* without an email domain
@@ -5828,7 +5832,7 @@ function split_emaildetail($email) {
5832
}
5829
5833
5830
5834
5831
- * Handle the case where the Email is a tring, but may
5835
+ * Handle the case where the Email is a string, but may
5836
* include the name at the beginning of the Email.
5837
*/
5838
if (!is_array($email) && strpos($email, '@') !== false) {
0 commit comments