From 011aa95ce81fcabbc1b87c7db3c95b58dd6f5e00 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 29 Feb 2020 20:16:54 +0300 Subject: [PATCH] fix(admin-plugin): fix moveProcess() method remove slugify for entries move process, just copy as is --- site/plugins/admin/app/Controllers/EntriesController.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/site/plugins/admin/app/Controllers/EntriesController.php b/site/plugins/admin/app/Controllers/EntriesController.php index 81554d1c..757d1aff 100644 --- a/site/plugins/admin/app/Controllers/EntriesController.php +++ b/site/plugins/admin/app/Controllers/EntriesController.php @@ -500,11 +500,7 @@ class EntriesController extends Controller $data = $request->getParsedBody(); // Set entry id current - if ($this->registry->get('plugins.admin.entries.slugify') == true) { - $entry_id_current = $this->slugify->slugify($data['entry_id_current']); - } else { - $entry_id_current = $data['entry_id_current']; - } + $entry_id_current = $data['entry_id_current']; if (!$this->entries->has($data['parent_entry'] . '/' . $entry_id_current)) { if ($this->entries->rename(