Project

General

Profile

Bug #23925 » 16231_03-4.4.diff

Administrator Admin, 2010-12-31 12:58

View differences:

t3lib/utility/class.t3lib_utility_mail.php (working copy)
$success = $success && t3lib_div::callUserFunction($hookMethod, $parameters, $fakeThis);
}
} else {
$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);
if (filter_var(ini_get('safe_mode'), FILTER_VALIDATE_BOOLEAN, array(FILTER_REQUIRE_SCALAR, FILTER_NULL_ON_FAILURE)) && !is_null($additionalParameters)) {
$additionalParameters = null;
}
if (is_null($additionalParameters)) {
$success = @mail($to, $subject, $messageBody, $additionalHeaders);
} else {
$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);
}
}
if (!$success) {
(5-5/5)