Skip to content

Commit

Permalink
Merge pull request #7 from Horttcore/analysis-zdMw1Z
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Horttcore authored Nov 12, 2019
2 parents 50a85e7 + 2ddf3dc commit 706d716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/custom-post-type-staff.block.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function render($attributes)
'showposts' => $attributes['postsToShow'] ?? get_option('posts_per_page'),
]);

if($attributes['staffId']) {
if ($attributes['staffId']) {
$query = new \WP_Query([
'post_type' => 'staff',
'page_id' => $attributes['staffId'],
Expand Down

0 comments on commit 706d716

Please sign in to comment.