1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-15 01:24:25 +02:00

fix(admin-plugin): fix moveProcess() method

remove slugify for entries move process, just copy as is
This commit is contained in:
Awilum
2020-02-29 20:16:54 +03:00
parent 8c75f5ecd2
commit 011aa95ce8

View File

@@ -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(