Skip to content

Commit

Permalink
fixed: get all widgets when checking for collapsed state
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed Sep 30, 2021
1 parent add6326 commit 60dc66b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/ColdTrick/WidgetManager/CollapsedState.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ protected function getCollapsedCache($user_guid) {
$rels = elgg_get_relationships([
'relationship_guid' => $user_guid,
'relationship' => ['widget_state_collapsed', 'widget_state_open'],
'limit' => false,
]);

foreach ($rels as $rel) {
Expand Down

0 comments on commit 60dc66b

Please sign in to comment.