From 95b1941801bf288598aa6f1b423ff4c10cdf7549 Mon Sep 17 00:00:00 2001 From: tofulm Date: Mon, 26 Apr 2021 11:35:55 +0200 Subject: [PATCH] correction creation de slug --- action/creer_slug.php | 1 + 1 file changed, 1 insertion(+) diff --git a/action/creer_slug.php b/action/creer_slug.php index 06dd8b2..5a4c827 100644 --- a/action/creer_slug.php +++ b/action/creer_slug.php @@ -47,6 +47,7 @@ function action_creer_slug_dist($slug = null, $opt = [], $ecraser = false){ // creation d'un nouveau slug if (!intval($id_slug)) { + $opt['slug'] = $slug; sql_insertq('spip_gamumails', $opt); } }