aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-12-01 00:03:17 +0000
committerplegall <plg@piwigo.org>2009-12-01 00:03:17 +0000
commit3a542bdb31906dd616c53851f396353562d52add (patch)
tree0e8b86b59ba5a79f4fe432d604780f35876a550f /admin/include
parent49988ab23a174db5bc375b036eacee182ec5260b (diff)
bug 1301 fixed: it is now possible to move root category 4 into root category
49. Sometimes a single comma makes a huge difference! git-svn-id: http://piwigo.org/svn/branches/2.0@4400 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-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 4f102318a..66d7b52ec 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1231,7 +1231,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'],