aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-12-01 00:14:50 +0000
committerplegall <plg@piwigo.org>2009-12-01 00:14:50 +0000
commitb8c33dcf2035f4cd5a67d918f1a5c490b128f9ae (patch)
treeb8ac0989ffd90f32404c094b84e82a8c4a2ae36a
parentf7222bf601fa120a0fa2190cb98325780d75ff24 (diff)
merge r4400 from branch 2.0 to trunk
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/trunk@4401 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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'],