From bc4922f87df90dcf2e9c5d56af17362ee32b5b4d Mon Sep 17 00:00:00 2001 From: tofulm Date: Mon, 26 Apr 2021 09:47:03 +0200 Subject: [PATCH] par defaut, si appel de la fonction -> editable = non --- action/creer_slug.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/creer_slug.php b/action/creer_slug.php index cec55a7..b8a9475 100644 --- a/action/creer_slug.php +++ b/action/creer_slug.php @@ -39,8 +39,8 @@ function action_creer_slug_dist($slug = null, $opt = []){ $set['slug'] = $slug; } if (is_array($opt) and count($opt)) { + $set['editable'] = 'non'; $set = array_merge($set, $opt); - //$set['editable'] = ''; } sql_updateq('spip_gamumails', $set, 'id_gamumail = '.$id_slug); }