Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
doekenorg committed Oct 11, 2024
1 parent 01965df commit 2cf7589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-gravityview-admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function add_edit_view_and_form_link() {

if ( ! GVCommon::has_cap(
[ 'edit_gravityviews', 'edit_gravityview', 'gravityforms_edit_forms' ],
$post->ID
isset( $post ) ? $post->ID : null
) ) {
return;
}
Expand Down

0 comments on commit 2cf7589

Please sign in to comment.