diff --git a/ecrire/inc/autoriser.php b/ecrire/inc/autoriser.php index 8621ccf282fbbf2ccf12cc1c2a6c81d9b9592765..9b80fafeed93b2e986ce1b2d0edb42221b1e1044 100644 --- a/ecrire/inc/autoriser.php +++ b/ecrire/inc/autoriser.php @@ -250,8 +250,8 @@ function autoriser_groupemots_modifier_dist($faire, $type, $id, $qui, $opt) { // http://doc.spip.org/@autoriser_mot_modifier_dist function autoriser_mot_modifier_dist($faire, $type, $id, $qui, $opt) { return - isset($opt['id_groupe'])) - ? autoriser('modifier', 'groupemots', $opt['id_groupe'], $qui, $opt); + isset($opt['id_groupe']) + ? autoriser('modifier', 'groupemots', $opt['id_groupe'], $qui, $opt) : ( $s = spip_query( "SELECT id_groupe FROM spip_mots WHERE id_mot="._q($id)