summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-07-02 14:22:22 +0000
committerDerick Rethans <derick@php.net>2002-07-02 14:22:22 +0000
commitf7cab95a7da8776a198cb2867adf17ec6deb9955 (patch)
treeabbbdbbfdaa1d8678a35dc4d3193c2fdc55a3afe /ext/standard
parent0d61ab3814bcb8a4cd7a9f7c8ec545efb256008f (diff)
downloadphp-git-f7cab95a7da8776a198cb2867adf17ec6deb9955.tar.gz
- Be nice to users and allow them to check if the mail was send
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/mail.c2
1 files changed, 1 insertions, 1 deletions
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",