- $query = XDB::query("SELECT nom, prenom, user_id, password,
- ml, domain, mid, action, message
- FROM auth_user_md5 AS u
- INNER JOIN email_list_moderate AS ml ON (u.user_id = ml.uid)
- WHERE ml.handler = {?}", $handler);
- list($nom, $prenom, $uid, $password, $list, $domain, $mid, $action, $reason) = $query->fetchOneRow();
+ $query = XDB::query('SELECT a.fullname, a.uid, a.password,
+ ml.ml, ml.domain, ml.mid, ml.action, ml.message
+ FROM accounts AS a
+ INNER JOIN email_list_moderate AS ml ON (a.uid = ml.uid)
+ WHERE ml.handler = {?}', $handler);
+ list($fullname, $uid, $password, $list, $domain, $mid, $action, $reason) = $query->fetchOneRow();