Skip to content
Extraits de code Groupes Projets
Valider 896e23d7 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

chore: Rector up to PHP 8.0 sur ecrire/notifications

parent c80bfc16
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -29,7 +29,7 @@ function notifications_instituerarticle_dist($quoi, $id_article, $options) {
if ($options['statut'] == 'publie') {
if (
$GLOBALS['meta']['post_dates'] == 'non'
and strtotime($options['date']) > time()
&& strtotime($options['date']) > time()
) {
$modele = 'notifications/article_valide';
} else {
......@@ -37,7 +37,7 @@ function notifications_instituerarticle_dist($quoi, $id_article, $options) {
}
}
if ($options['statut'] == 'prop' and $options['statut_ancien'] != 'publie') {
if ($options['statut'] == 'prop' && $options['statut_ancien'] != 'publie') {
$modele = 'notifications/article_propose';
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter