processwire-issues
processwire-issues copied to clipboard
getFormatted() on repeater matrix (and probably repeater) items results in all items having outputformatting turned on for subsequent requests.
Hi @ryancramerdesign - not really sure if this is a bug or not, but if you call: $page->getFormatted('rm_field') then all items will end up with outputformatting on. I assumed it would get the formatted value, but not change it's status if called again.
This demonstrates the issue.
Is this intended behavior, or a bug?
I can "fix it" by looping through and turning it off for each item.