to=geoloc@staff.polytechnique.org
[mails_ax]
-from="Association des Anciens élèves de l'X" <info@amicale.polytechnique.org>
+from="Amicale des Anciens de l'X" <info@amicale.polytechnique.org>
replyto=info@amicale.polytechnique.org
[payment_ready]
} else {
$res = XDB::query("SELECT *
FROM axletter
- WHERE id = {?} OR shortname = {?}", $id, $id);
+ WHERE id = {?} OR short_name = {?}", $id, $id);
}
if (!$res->numRows()) {
$this->_id = null;
static public function listSent()
{
- $res = XDB::query("SELECT IF(shortname IS NULL, id, shortname) as id, date, subject AS titre
+ $res = XDB::query("SELECT IF(short_name IS NULL, id, short_name) as id, date, subject AS titre
FROM axletter
WHERE NOT (FIND_IN_SET('new', bits))
ORDER BY date DESC");
static public function listAll()
{
- $res = XDB::query("SELECT IF(shortname IS NULL, id, shortname) as id, date, subject AS titre
+ $res = XDB::query("SELECT IF(short_name IS NULL, id, short_name) as id, date, subject AS titre
FROM axletter
ORDER BY date DESC");
return $res->fetchAllAssoc();