mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
DbObject: reallySet should not risk magic lookups
This commit is contained in:
parent
507dd176cc
commit
c832ca4ade
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ abstract class DbObject
|
|||
|
||||
protected function reallySet($key, $value)
|
||||
{
|
||||
if ($value === $this->$key) {
|
||||
if ($value === $this->properties[$key]) {
|
||||
return $this;
|
||||
}
|
||||
$this->hasBeenModified = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue