Skip to content

Commit

Permalink
Update src/Uplink/Admin/Fields/Field.php
Browse files Browse the repository at this point in the history
Co-authored-by: Justin <defunctl@users.noreply.github.com>
  • Loading branch information
dpanta94 and defunctl committed Jul 21, 2024
1 parent a52184a commit 3906c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uplink/Admin/Fields/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function get_render_html(): string {
if ( $this->resource->is_using_oauth() ) {
ob_start();
UplinkNamespace\render_authorize_button( $this->get_slug() );
return ob_get_clean();
return (string) ob_get_clean();
}

$args = [
Expand Down

0 comments on commit 3906c2b

Please sign in to comment.