Projekt

Obecné

Profil

« Předchozí | Další » 

Revize acdafb9b

Přidáno uživatelem Ondřej Fibich před více než 5 roky(ů)

Refs #1108: Fixes scheduler failure due to deprecated function in e-mail sending on PHP 5.5 >=

Zobrazit rozdíly:

system/vendor/swift/Swift/Message/Headers.php
if (false !== $p = strpos($encoded_value[$key], $this->LE))
{
$cb = 'str_replace("' . $this->LE . '", "", "<$1>");';
$encoded_value[$key] = preg_replace("/<([^>]+)>/e", $cb, $encoded_value[$key]);
$encoded_value[$key] = preg_replace_callback("/<([^>]+)>/", function ($matches) {
return str_replace("' . $this->LE . '", "", "<$1>");
}, $encoded_value[$key]);
}
//Turn our header into an array of lines ready for wrapping around the encoding specification

Také k dispozici: Unified diff