Unverified Commit 33858a9b by thopd88 Committed by GitHub

Update admin-categories.php

use commas at the end of the array
parent 05c5e8cc
...@@ -225,7 +225,7 @@ if (qa_clicked('docancel')) { ...@@ -225,7 +225,7 @@ if (qa_clicked('docancel')) {
'content' => isset($incontent)?$incontent:null, 'content' => isset($incontent)?$incontent:null,
'position' => isset($inposition)?$inposition:null, 'position' => isset($inposition)?$inposition:null,
'name' => $inname, 'name' => $inname,
'slug' => $inslug 'slug' => $inslug,
)); ));
qa_redirect(qa_request(), array('edit' => $editcategory['categoryid'], 'saved' => true, 'recalc' => (int)$recalc)); qa_redirect(qa_request(), array('edit' => $editcategory['categoryid'], 'saved' => true, 'recalc' => (int)$recalc));
...@@ -244,7 +244,7 @@ if (qa_clicked('docancel')) { ...@@ -244,7 +244,7 @@ if (qa_clicked('docancel')) {
'content' => isset($incontent)?$incontent:null, 'content' => isset($incontent)?$incontent:null,
'position' => isset($inposition)?$inposition:null, 'position' => isset($inposition)?$inposition:null,
'name' => $inname, 'name' => $inname,
'slug' => $inslug 'slug' => $inslug,
)); ));
qa_redirect(qa_request(), array('edit' => $inparentid, 'added' => true)); qa_redirect(qa_request(), array('edit' => $inparentid, 'added' => true));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment