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
This commit is contained in:
plegall
2009-12-01 00:14:50 +00:00
parent f7222bf601
commit b8c33dcf20
+1 -1
View File
@@ -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'],