mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Erreur dans la fonction de list sur la mise en forme du mail
This commit is contained in:
parent
7ca7ea150c
commit
759f2458a4
1 changed files with 2 additions and 2 deletions
|
@ -223,7 +223,7 @@ function ListeAlias($email) {
|
|||
$nb_alias_disable=0;
|
||||
$message= "## Liste de vos redirections poubelles active : \n\n";
|
||||
while($alias_db = $selectcmd->fetch()) {
|
||||
if ($alias_db['status'] == 3 && $nb_alias != 0) {
|
||||
if ($alias_db['status'] == 3 && $nb_alias_disable == 0) {
|
||||
$message.= "## Liste de vos redirections poubelles désactivé : \n\n";
|
||||
}
|
||||
$message.=" * ".$alias_db['alias']." Créé le ".$alias_db['dateCreat'];
|
||||
|
@ -239,7 +239,7 @@ function ListeAlias($email) {
|
|||
$nb_alias++;
|
||||
} else {
|
||||
$message.="\tActiver : ".urlGen('enable',$alias_db['id'],$alias_db['alias'])."\n";
|
||||
$nb_alias++;
|
||||
$nb_alias_disable++;
|
||||
}
|
||||
$message.="\tSupprimer : ".urlGen('delete',$alias_db['id'],$alias_db['alias'])."\n\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue