aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions.php1
-rw-r--r--admin/include/photos_add_direct_process.inc.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index 2696292ab..8b455f077 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1991,6 +1991,7 @@ function get_active_menu($menu_page)
case 'batch_manager':
return 0;
+ case 'album':
case 'cat_list':
case 'cat_modify':
case 'cat_move':
diff --git a/admin/include/photos_add_direct_process.inc.php b/admin/include/photos_add_direct_process.inc.php
index b30619587..1f2dc1634 100644
--- a/admin/include/photos_add_direct_process.inc.php
+++ b/admin/include/photos_add_direct_process.inc.php
@@ -252,7 +252,7 @@ SELECT
WHERE category_id = '.$category_id.'
;';
list($count) = pwg_db_fetch_row(pwg_query($query));
- $category_name = get_cat_display_name_from_id($category_id, 'admin.php?page=cat_modify&cat_id=');
+ $category_name = get_cat_display_name_from_id($category_id, 'admin.php?page=album-');
// information
array_push(