You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this line should be } elseif ($value instanceof BaseModel) { because you want to call primary_key() as the flattened value in case a property is a type of object that is a subclass of BaseModel, and also because AbstractClass is undefined.
Also @brandonwamboldt, I saw this code being used in a plugin called uListing from a theme I purchased recently from StylemixThemes. Thought you should know.
The text was updated successfully, but these errors were encountered:
wp-orm/src/BaseModel.php
Line 100 in 17b8010
I think this line should be
} elseif ($value instanceof BaseModel) {
because you want to call primary_key() as the flattened value in case a property is a type of object that is a subclass of BaseModel, and also because AbstractClass is undefined.Also @brandonwamboldt, I saw this code being used in a plugin called uListing from a theme I purchased recently from StylemixThemes. Thought you should know.
The text was updated successfully, but these errors were encountered: