diff --git a/ecrire/inc/autoriser.php b/ecrire/inc/autoriser.php index 24ef96ff9413471ea07ed63f29d16eb90389837f..2c57fa7b1c368f2686187ea6cdcc57b5840d3915 100644 --- a/ecrire/inc/autoriser.php +++ b/ecrire/inc/autoriser.php @@ -758,7 +758,7 @@ function autoriser_auteur_creer_bouton_dist($faire, $type='', $id=0, $qui = NULL } function autoriser_mot_creer_bouton_dist($faire, $type='', $id=0, $qui = NULL, $opt = NULL){ - return autoriser('creer','mot'); + return ($GLOBALS['meta']['articles_mots']=='oui' AND autoriser('creer','mot')); } function autoriser_site_creer_bouton_dist($faire, $type='', $id=0, $qui = NULL, $opt = NULL){