Skip to content
Snippets Groups Projects
Commit 09d94d4d authored by Earl Miles's avatar Earl Miles
Browse files

#388306: Fix destruction of original page when cloning a page.

parent d6e383b5
No related branches found
No related tags found
No related merge requests found
...@@ -1417,6 +1417,8 @@ function delegator_page_clone_subtask_submit(&$form, &$form_state) { ...@@ -1417,6 +1417,8 @@ function delegator_page_clone_subtask_submit(&$form, &$form_state) {
} }
$page->name = $name; $page->name = $name;
unset($page->pid);
delegator_page_set_page_cache($page); delegator_page_set_page_cache($page);
$form_state['redirect'] = 'admin/build/pages/edit/' . $page->name; $form_state['redirect'] = 'admin/build/pages/edit/' . $page->name;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment