]> granicus.if.org Git - php/commitdiff
- Be nice to users and allow them to check if the mail was send
authorDerick Rethans <derick@php.net>
Tue, 2 Jul 2002 14:22:22 +0000 (14:22 +0000)
committerDerick Rethans <derick@php.net>
Tue, 2 Jul 2002 14:22:22 +0000 (14:22 +0000)
ext/standard/mail.c

index 19701d4ca8900ad13b423372c82ec9ea68727301..28472c462171eec410d989b8599d369619f9bd1e 100644 (file)
@@ -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",