fix
This commit is contained in:
parent
4af343e833
commit
99d7aa0da0
|
@ -245,9 +245,6 @@ class ZM_Object {
|
|||
}
|
||||
} else if ( property_exists($this, $field) ) {
|
||||
$type = (array_key_exists($field, $this->defaults) && is_array($this->defaults[$field])) ? $this->defaults[$field]['type'] : 'scalar';
|
||||
(is_array($this->{$field}) ? implode(',',$this->{$field}) : $this->{$field}) . ' ?= ' .
|
||||
(is_array($value) ? implode(',', $value) : $value)
|
||||
);
|
||||
if ( $type == 'set' ) {
|
||||
$old_value = is_array($this->$field) ? $this->$field : explode(',', $this->$field);
|
||||
$new_value = is_array($value) ? $value : explode(',', $value);
|
||||
|
|
Loading…
Reference in New Issue