Fixed Unable to do apply where condition for ParentProperty

TickTackk

Well-known member
Affected version
XF 2.2.1
PHP:
            'ParentProperty' => [
                'type' => self::TO_ONE,
                'entity' => 'XF:StyleProperty',
                'conditions' => ['property_id', '=', '$parent_property_id'],
                'primary' => true
            ]
should be:
PHP:
            'ParentProperty' => [
                'type' => self::TO_ONE,
                'entity' => 'XF:StyleProperty',
                'conditions' => [['property_id', '=', '$parent_property_id']],
                'primary' => true
            ]
In XF:StylePropertyMap entity.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.2).

Change log:
Fix StylePropertyMap entity ParentProperty relation conditional
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom