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->setModified();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->deleted = false;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ class CustomVariableBoolean extends CustomVariable
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->value = $value;
|
$this->value = $value;
|
||||||
|
$this->deleted = false;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,8 @@ class CustomVariableDictionary extends CustomVariable implements Countable
|
||||||
$new[$key] = self::wantCustomVariable($key, $val);
|
$new[$key] = self::wantCustomVariable($key, $val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->deleted = false;
|
||||||
|
|
||||||
// WTF?
|
// WTF?
|
||||||
if ($this->value === $new) {
|
if ($this->value === $new) {
|
||||||
return $this;
|
return $this;
|
||||||
|
|
|
@ -36,6 +36,8 @@ class CustomVariableNull extends CustomVariable
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->deleted = false;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@ class CustomVariableNumber extends CustomVariable
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->value = $value;
|
$this->value = $value;
|
||||||
|
$this->deleted = false;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,8 @@ class CustomVariableString extends CustomVariable
|
||||||
$this->setModified();
|
$this->setModified();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->deleted = false;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue