Repeatable fields returning value of 1 for delete values
-
Using the repeatable fields to select related posts and I’m finding that if I add a value and then delete it there are still values left in the DB and I’m then getting a ‘0’ returned when using the API call.
$related = simple_fields_values("related_portfolio_posts"); print_r($related);Output – I should just get one value ‘463’ not ‘0’.
Array ( [0] => 463 [1] => 0 )
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Repeatable fields returning value of 1 for delete values’ is closed to new replies.