CustomVariable: reset 'deleted' when re-setting...
...a value
This commit is contained in:
parent
2c7c54a15d
commit
efd0b50052
|
@ -60,6 +60,8 @@ class CustomVariableArray extends CustomVariable
|
|||
$this->setModified();
|
||||
}
|
||||
|
||||
$this->deleted = false;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ class CustomVariableBoolean extends CustomVariable
|
|||
}
|
||||
|
||||
$this->value = $value;
|
||||
$this->deleted = false;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
|
@ -46,6 +46,8 @@ class CustomVariableDictionary extends CustomVariable implements Countable
|
|||
$new[$key] = self::wantCustomVariable($key, $val);
|
||||
}
|
||||
|
||||
$this->deleted = false;
|
||||
|
||||
// WTF?
|
||||
if ($this->value === $new) {
|
||||
return $this;
|
||||
|
|
|
@ -36,6 +36,8 @@ class CustomVariableNull extends CustomVariable
|
|||
);
|
||||
}
|
||||
|
||||
$this->deleted = false;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@ class CustomVariableNumber extends CustomVariable
|
|||
}
|
||||
|
||||
$this->value = $value;
|
||||
$this->deleted = false;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
|
@ -31,6 +31,8 @@ class CustomVariableString extends CustomVariable
|
|||
$this->setModified();
|
||||
}
|
||||
|
||||
$this->deleted = false;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue