Skip to content

Commit

Permalink
Fix malformed PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed Nov 24, 2023
1 parent a51d07e commit 5fbf648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/kind-eat.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
}
}

<?php if ( $rating ) {
if ( $rating ) {
echo '<data class="p-rating" value="' . $rating . '">' . sprintf( Kind_View::rating_text( $rating ), $url, $title ) . '</data>';
} ?>
}

if ( $photos && ! has_post_thumbnail( get_the_ID() ) ) {
$view = new Kind_Media_View( $photos, 'photo' );
Expand Down

0 comments on commit 5fbf648

Please sign in to comment.