bug corrected when moving categories at the top level
git-svn-id: http://piwigo.org/svn/trunk@628 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
beaef0f1f2
commit
93c3c7d6e3
1 changed files with 2 additions and 2 deletions
|
|
@ -208,7 +208,7 @@ UPDATE '.CATEGORIES_TABLE.'
|
|||
array_push($categories, $current);
|
||||
array_shift($categories);
|
||||
}
|
||||
update_global_rank($_GET['parent_id']);
|
||||
update_global_rank(@$_GET['parent_id']);
|
||||
}
|
||||
else if (isset($_GET['down']) and is_numeric($_GET['down']))
|
||||
{
|
||||
|
|
@ -268,7 +268,7 @@ UPDATE '.CATEGORIES_TABLE.'
|
|||
array_unshift($categories, $current);
|
||||
array_pop($categories);
|
||||
}
|
||||
update_global_rank($_GET['parent_id']);
|
||||
update_global_rank(@$_GET['parent_id']);
|
||||
}
|
||||
reset($categories);
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue