diff options
author | plegall <plg@piwigo.org> | 2004-11-30 20:45:21 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2004-11-30 20:45:21 +0000 |
commit | 93c3c7d6e35e61bfda131c945e6a54efd2ef557f (patch) | |
tree | b94c0c680bccdb39a69904e8a431e410759f7eb6 /admin | |
parent | beaef0f1f2371770d3f571f0a414f048a34e5cf7 (diff) |
bug corrected when moving categories at the top level
git-svn-id: http://piwigo.org/svn/trunk@628 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/cat_list.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php index b5404ea0c..00bb4a5ac 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -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); // +-----------------------------------------------------------------------+ |