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