From dea2ed4b5008c6186c196d6fbbe056459847b379 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 21 Nov 2006 20:48:23 +0000 Subject: [PATCH] It's not checking for $address but rather $email so we're getting errors thrown --- mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail.php b/mail.php index 5bdb469..638e853 100644 --- a/mail.php +++ b/mail.php @@ -234,7 +234,7 @@ class Mail */ function send($address, $name = null, $sendhtml = false) { - if (empty($email)) + if (empty($address)) { trigger_error('You need to specify an email address', E_USER_ERROR); return false; -- 2.43.5