diff options
Diffstat (limited to 'pages/content/Pages:New.xml')
-rw-r--r-- | pages/content/Pages:New.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/content/Pages:New.xml b/pages/content/Pages:New.xml index 2c67f69..d260c8a 100644 --- a/pages/content/Pages:New.xml +++ b/pages/content/Pages:New.xml @@ -17,7 +17,7 @@ exit(); if($_POST['back']) { - header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', 'type=' . $_POST['type'], false)); + header('Location: ' . $GLOBALS['links']->GetNeonLink('Pages', null, false)); exit(); } @@ -25,7 +25,7 @@ $GLOBALS['pages']->Add(Unquote($_POST['name']), $_POST['type'], Unquote($_POST['template'])); - $data = $GLOBALS['pages']->GetEditor(Unquote($_POST['name']), $_POST['type']); + $data = $GLOBALS['pages']->GetEditor(Unquote($_POST['name']), $_POST['type'], $GLOBALS['links']->GetNeonLink('Pages', null, false)); $title = $data['title']; |