|
|
|
@ -12,7 +12,7 @@ require_once ($_SERVER["DOCUMENT_ROOT"]."/services/fonctions/bdd/connexion.php")
|
|
|
|
|
function listeAliasVirtuelsBdd($pdo) {
|
|
|
|
|
try {
|
|
|
|
|
// Filtre des alias virtuels de l'utilisateur courant
|
|
|
|
|
$req = 'SELECT * FROM postfix_alias_virtuels WHERE destination=:destination ORDER BY courriel ASC';
|
|
|
|
|
$req = 'SELECT * FROM postfix_alias_virtuels WHERE destination=:destination ORDER BY courriel DESC';
|
|
|
|
|
$sql=$pdo->prepare($req);
|
|
|
|
|
$sql->bindValue(':destination',$_SESSION['pseudo_utilisateur']);
|
|
|
|
|
$sql->execute();
|
|
|
|
|