Notifications

This commit is contained in:
Prof Langues 2020-10-08 12:55:19 +02:00
parent 50fd8a3c9d
commit 332127401f

View File

@ -620,6 +620,9 @@ class user extends common {
$item['notification'] = template::ico('comment') ; $item['notification'] = template::ico('comment') ;
} }
} }
} else {
$item['notification'] = template::ico('cancel');
}
// Création du tableau de confirmation // Création du tableau de confirmation
self::$users[] = [ self::$users[] = [
$userId, $userId,
@ -630,9 +633,6 @@ class user extends common {
$item['email'], $item['email'],
$item['notification'] $item['notification']
]; ];
} else {
$item['notification'] = template::ico('cancel');
}
} }
if (empty(self::$users)) { if (empty(self::$users)) {
$notification = 'Rien à importer' ; $notification = 'Rien à importer' ;