aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_list.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/cat_list.php')
-rw-r--r--admin/cat_list.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 383e4d7f4..baba5e2c9 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -273,6 +273,15 @@ SELECT DISTINCT category_id
$template->assign('categories', array());
$base_url = get_root_url().'admin.php?page=';
+
+if (isset($_GET['parent_id']))
+{
+ $template->assign(
+ 'PARENT_EDIT',
+ $base_url.'album-'.$_GET['parent_id']
+ );
+}
+
foreach ($categories as $category)
{
$cat_list_url = $base_url.'cat_list';