diff options
Diffstat (limited to 'admin/cat_list.php')
-rw-r--r-- | admin/cat_list.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php index eac3869b3..b5404ea0c 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -208,6 +208,7 @@ UPDATE '.CATEGORIES_TABLE.' array_push($categories, $current); array_shift($categories); } + update_global_rank($_GET['parent_id']); } else if (isset($_GET['down']) and is_numeric($_GET['down'])) { @@ -267,6 +268,7 @@ UPDATE '.CATEGORIES_TABLE.' array_unshift($categories, $current); array_pop($categories); } + update_global_rank($_GET['parent_id']); } reset($categories); // +-----------------------------------------------------------------------+ |