@@ -908,14 +908,14 @@ |
||
908 | 908 | // Do not show contacts' folders in the AB list view for which |
909 | 909 | // the user has permissions, but hasn't added them to the folder hierarchy. |
910 | 910 | if (!empty($sharedUserSetting) && |
911 | - !isset($sharedUserSetting['all']) && |
|
912 | - !isset($sharedUserSetting['contact']) && |
|
913 | - in_array($mainUserEntryId, array_column($grants, 'userid'))) { |
|
911 | + !isset($sharedUserSetting['all']) && |
|
912 | + !isset($sharedUserSetting['contact']) && |
|
913 | + in_array($mainUserEntryId, array_column($grants, 'userid'))) { |
|
914 | 914 | continue; |
915 | 915 | } |
916 | 916 | if (isset($sharedUserSetting['all']) || |
917 | - isset($sharedUserSetting['contact']) || |
|
918 | - in_array($mainUserEntryId, array_column($grants, 'userid'))) |
|
917 | + isset($sharedUserSetting['contact']) || |
|
918 | + in_array($mainUserEntryId, array_column($grants, 'userid'))) |
|
919 | 919 | { |
920 | 920 | $this->addFolder($folders, [ |
921 | 921 | // Postfix display name of every contact folder with respective owner name |