mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
DbObject: reallySet should not risk magic lookups
This commit is contained in:
parent
507dd176cc
commit
c832ca4ade
@ -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…
x
Reference in New Issue
Block a user