aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_modify.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/cat_modify.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 18aff772f..0d82c13d4 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -67,7 +67,10 @@ if (isset($_POST['submit']))
if (isset($_POST['parent']))
{
- move_category($_GET['cat_id'], $_POST['parent']);
+ move_categories(
+ array($_GET['cat_id']),
+ $_POST['parent']
+ );
}
array_push($page['infos'], $lang['editcat_confirm']);