un include manquant

This commit is contained in:
Christophe 2021-05-05 17:10:30 +02:00
parent bd99a25c85
commit 01655c03e0

View file

@ -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;
}