un include manquant
This commit is contained in:
parent
bd99a25c85
commit
01655c03e0
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return;
|
||||||
**/
|
**/
|
||||||
function action_creer_slug_dist($slug = null, $opt = [], $ecraser = false){
|
function action_creer_slug_dist($slug = null, $opt = [], $ecraser = false){
|
||||||
include_spip('inc/autoriser');
|
include_spip('inc/autoriser');
|
||||||
|
include_spip('action/editer_objet');
|
||||||
if (!autoriser('creer','gamumail')) {
|
if (!autoriser('creer','gamumail')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue