$body = ($this->user->isFemale() ? "Chère camarade,\n\n" : "Cher camarade,\n\n")
. $this->_mail_body($isok)
$body = ($this->user->isFemale() ? "Chère camarade,\n\n" : "Cher camarade,\n\n")
. $this->_mail_body($isok)
- . (Env::has('comm') ? "\n\n".Env::v('comm') : '')
- . "\n\nCordialement,\n\n-- \nL'équipe de Polytechnique.org\n";
+ . (Env::has('comm') ? "\n\n" . Env::v('comm') : '')
+ . "\n\nCordialement,\n-- \nL'équipe de Polytechnique.org\n"
+ . $this->_mail_ps($isok);
static $answers_table;
if (!isset($answers_table[$this->type])) {
$r = XDB::query("SELECT id, title, answer FROM requests_answers WHERE category = {?}", $this->type);
static $answers_table;
if (!isset($answers_table[$this->type])) {
$r = XDB::query("SELECT id, title, answer FROM requests_answers WHERE category = {?}", $this->type);