Skip to content

Commit

Permalink
Update tests/phpunit/includes/testcase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Sep 20, 2019
1 parent 0d89a66 commit 568dd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/includes/testcase.php
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ public static function _initialize_config() {
self::$builds[ $pod_type ][ $object ][ $storage_type ]['fields'][ $field['name'] ] = $field;
}

if ( in_array( $pod['name'], pods_reserved_keywords() ) ) {
if ( in_array( $pod['name'], pods_reserved_keywords(), true ) ) {
// Extending objects when using reserved keywords.
// This will then accept `post`, `page` etc. as Pods object names.
$pod['create_extend'] = 'extend';
Expand Down

0 comments on commit 568dd33

Please sign in to comment.