From fb211693ff558f4052b5a3f651a9f4876477daac Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Thu, 20 Aug 2026 17:32:13 +0200 Subject: [PATCH] Preserve connector top-level album access without name collision --- main.inc.php | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/main.inc.php b/main.inc.php index 207b23c..d8a3ae2 100644 --- a/main.inc.php +++ b/main.inc.php @@ -1,7 +1,7 @@ 0) + { + continue; + } + + bratonien_tools_grant_private_album_access($category_id, $user_id); + $changed = true; + } + + if ($changed && function_exists('invalidate_user_cache')) + { + invalidate_user_cache(true); + } + }); +} + function bratonien_tools_grant_private_album_access($category_id, $user_id) { $category_id = (int)$category_id;