Skip to content

Commit

Permalink
Fix PHPCS error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinkrzeminski committed Nov 21, 2024
1 parent 5d66b86 commit 6e81e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/class-connector-buddypress.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function action_links( $links, $record ) {

// Check we have access to BuddyPress on this blog and that the user will have access to the links.
if ( ! $this->is_dependency_satisfied() || ! bp_current_user_can_moderate() ) {
return [];
return array();
}

// In the links, we also need to check the functions themselves as they're dependent on the BuddyPress module being enabled.
Expand Down

0 comments on commit 6e81e58

Please sign in to comment.