From 50eea9291e2a1a11024493a80a7e1ba7b8faebe9 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 29 Feb 2020 20:17:49 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/plugins/admin/app/Controllers/EntriesController.php b/site/plugins/admin/app/Controllers/EntriesController.php index 757d1aff..edeb91a4 100644 --- a/site/plugins/admin/app/Controllers/EntriesController.php +++ b/site/plugins/admin/app/Controllers/EntriesController.php @@ -508,7 +508,7 @@ class EntriesController extends Controller $data['parent_entry'] . '/' . $entry_id_current )) { - rename(PATH['uploads'] . '/entries/' . $data['entry_id_path_current'], PATH['uploads'] . '/entries/' . $data['parent_entry'] . '/' . $entry_id_current); + rename(PATH['uploads'] . '/entries/' . $entry_id_current, PATH['uploads'] . '/entries/' . $data['parent_entry'] . '/' . $entry_id_current); $this->clearEntryCounter($data['parent_entry']); $this->flash->addMessage('success', __('admin_message_entry_moved'));