aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ws_functions.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index c2e8c1778..57a12ac3b 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1120,7 +1120,7 @@ SELECT
{
if ('auto' == $rank_on_category[$cat_id])
{
- $rank_on_category[$cat_id] = $current_rank_of[$cat_id] + 1;
+ $rank_on_category[$cat_id] = $current_rank_of[$cat_id] + 1;
}
}
}
@@ -1144,6 +1144,8 @@ SELECT
array_keys($inserts[0]),
$inserts
);
+
+ update_category($cat_ids);
}
}