Closed akamadr closed 4 years ago
Can you explain more about how to reproduce a problem caused by the original code, and what htis fixes?
In line 38 we're checking if property $this->selects
is empty, so it should be either:
'selects' => empty($this->selects) ? array('
'.$this->name.'.*') : $this->selects,
or
'selects' => empty($this->default_selects) ? array('
'.$this->name.'.*') : $this->default_selects,
Original code causes error when property $selects
is declared but $default_selects
isn't.
Thanks!
Wrong property name when setting
$default['selects']
value.