From 099f4c566d192080bf5913079e091e40b697c297 Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Wed, 23 Nov 2022 11:48:11 +0100 Subject: [PATCH] related to #1802 removed useless line --- include/ws_functions/pwg.categories.php | 1 - 1 file changed, 1 deletion(-) diff --git a/include/ws_functions/pwg.categories.php b/include/ws_functions/pwg.categories.php index 79a9f8901..f700b21a3 100644 --- a/include/ws_functions/pwg.categories.php +++ b/include/ws_functions/pwg.categories.php @@ -648,7 +648,6 @@ function ws_categories_add($params, &$service) $options['comment'] = strip_tags($params['comment']); } - $params['name'] = $params['name']; $creation_output = create_virtual_category( strip_tags($params['name']), // TODO do not strip tags if pwg_token is provided (and valid) $params['parent'],