diff --git a/action/creer_slug.php b/action/creer_slug.php index 5a4c827..aac6a70 100644 --- a/action/creer_slug.php +++ b/action/creer_slug.php @@ -13,6 +13,7 @@ if (!defined('_ECRIRE_INC_VERSION')) return; **/ function action_creer_slug_dist($slug = null, $opt = [], $ecraser = false){ include_spip('inc/autoriser'); + include_spip('action/editer_objet'); if (!autoriser('creer','gamumail')) { return false; }