Skip to content

Commit

Permalink
lint styles
Browse files Browse the repository at this point in the history
  • Loading branch information
arzola committed Dec 18, 2024
1 parent 4677227 commit 3f095b5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Services/PermissionsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ public function setupFilters(): void
add_filter('edit_post_link', function ($link) use ($institution) {
$currentBlogId = get_current_blog_id();
if ($currentBlogId === 1 && $institution !== 0) {
return '';
}
else return $link;
return '';
} else {
return $link;
}
});
}

Expand Down

0 comments on commit 3f095b5

Please sign in to comment.