Interdiction d'accès à l'espace privé pour les non-admins, avec redirection : correction pour laisser passer les admins
This commit is contained in:
parent
f33374291e
commit
f56bf4dbbe
1 changed files with 3 additions and 0 deletions
|
@ -56,4 +56,7 @@ function autoriser_ecrire($faire, $type, $id, $qui, $opt){
|
||||||
include_spip('inc/headers');
|
include_spip('inc/headers');
|
||||||
redirige_par_entete( url_de_base());
|
redirige_par_entete( url_de_base());
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
return in_array($qui['statut'], array('0minirezo'));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue