Projet

Général

Profil

Anomalie #1280 » 0001-Hotfix-refs-1280.patch

Hotfix pour la dernière branche stable uniquement - Guillaume AGNIERAY, 17/09/2019 16:19

Voir les différences:

galette/includes/routes/members.routes.php
}
} elseif ($_FILES['files']['error'][$i] !== UPLOAD_ERR_NO_FILE) {
Analog::log(
$mailing->getPhpErrorMessage($_FILES['files']['error'][$i]),
$this->logo->getPhpErrorMessage($_FILES['files']['error'][$i]),
Analog::WARNING
);
$error_detected[] = $mailing->getPhpErrorMessage(
$error_detected[] = $this->logo->getPhpErrorMessage(
$_FILES['files']['error'][$i]
);
}
galette/templates/default/mailing_adherents.tpl
var _val = _this.val();
switch (_val) {
case '{Galette\Core\GaletteMail::SENDER_PREFS}':
_sender_name.val('{$preferences->pref_email_nom}');
_sender_address.val('{$preferences->pref_email}');
_sender_name.val('{$preferences->pref_email_nom|escape:"javascript"}');
_sender_address.val('{$preferences->pref_email|escape:"javascript"}');
break;
case '{Galette\Core\GaletteMail::SENDER_CURRENT}':
_sender_name.val('{$sender_current['name']}');
_sender_address.val('{$sender_current['email']}');
_sender_name.val('{$sender_current['name']|escape:"javascript"}');
_sender_address.val('{$sender_current['email']|escape:"javascript"}');
break;
case '{Galette\Core\GaletteMail::SENDER_OTHER}':
_sender_name.val('');
(3-3/3)