Permalink
Browse files

$val tweak for $built_in

  • Loading branch information...
1 parent 5e2a7fe commit 975f4780da720eb03b6199b9810c891a8a9c1b52 @sc0ttkclark sc0ttkclark committed Aug 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/PodsAPI.php
View
@@ -897,7 +897,7 @@ public function save_pod ( $params ) {
$built_in_object = str_replace( array( 'built_in_post_types_', 'built_in_taxonomies_' ), '', $key );
- $built_in[ $built_in_type ][ $built_in_object ] = max( pods_absint( $val ), 1 );
+ $built_in[ $built_in_type ][ $built_in_object ] = (int) $val;
}
$lookup_option = $lookup_built_in = false;

0 comments on commit 975f478

Please sign in to comment.