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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user