From 410cc67db1575fdbaf5a6aafc3405cdf65084b12 Mon Sep 17 00:00:00 2001 From: Tom Reijnders Date: Wed, 20 Sep 2023 21:09:13 +0200 Subject: [PATCH] Fixed #1252 - Issue with shared folder for user that does not have any other folders --- website_code/php/display_library.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website_code/php/display_library.php b/website_code/php/display_library.php index 0ceb97ca4..114c31779 100644 --- a/website_code/php/display_library.php +++ b/website_code/php/display_library.php @@ -879,8 +879,7 @@ function get_workspace_folders($folder_id, $tree_id, $sort_type, $copy_only=fals } else { - if ($query_response[$index]['role'] == 'creator') - $unassigned_found = true; + $unassigned_found = true; } $shared = ""; if ($query_response[$index]['role'] != 'creator' && $newtype != 'group'){