Fixed Unable to do apply where condition for ParentProperty

Affected version
XF 2.2.1

TickTackk

Well-known member
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.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
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