aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index e503e17a8..20cb6e534 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1027,7 +1027,7 @@ SELECT uppercats
{
// technically, you can't move a category with uppercats 12,125,13,14
// into a new parent category with uppercats 12,125,13,14,24
- if (preg_match('/^'.$category['uppercats'].'/', $new_parent_uppercats))
+ if (preg_match('/^'.$category['uppercats'].',/', $new_parent_uppercats))
{
array_push(
$page['errors'],