diff --git a/ecrire/notifications/instituerarticle.php b/ecrire/notifications/instituerarticle.php index a207e6ec0f70b3f3aaa18ce240aeecb78f4d5e7c..17b7ae63251fd9da235533f1fba44cc62c49696e 100644 --- a/ecrire/notifications/instituerarticle.php +++ b/ecrire/notifications/instituerarticle.php @@ -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'; }