Skip to content

Commit

Permalink
Codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
JoryHogeveen committed Oct 30, 2023
1 parent 589d04d commit 2fdd317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/PodsRESTFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ private function set_pod( $pod ) {
* @return array
*/
public function query_fields( $args, $request ) {
$fields = $this->pod->get_fields();
$fields = $this->pod->get_fields();
$meta_query = [];

foreach ( $fields as $field ) {
$name = $field->get_name();
if ( isset( $request[ $name ] ) ) {
Expand Down

0 comments on commit 2fdd317

Please sign in to comment.