From f7cab95a7da8776a198cb2867adf17ec6deb9955 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 2 Jul 2002 14:22:22 +0000 Subject: [PATCH] - Be nice to users and allow them to check if the mail was send --- ext/standard/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 19701d4ca8..28472c4621 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -74,7 +74,7 @@ PHP_FUNCTION(mail) if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) { php_error(E_WARNING, "%s(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE.", get_active_function_name(TSRMLS_C)); - return; + RETURN_FALSE; } if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", -- 2.50.1