Closed micschk closed 3 years ago
A shortcode may have an id attribute without necessarily representing a database record, so we should check first. (NOTE BEFORE MERGING: SS4 may require checking for 'SilverStripe\ORM\DataObject' instead?)
@micschk good question, I don't know the answer. Will have a look into it later in the week when I'm working on an SS4 project
A shortcode may have an id attribute without necessarily representing a database record, so we should check first. (NOTE BEFORE MERGING: SS4 may require checking for 'SilverStripe\ORM\DataObject' instead?)