Add test if actual entity is different to the entity provided
This commit is contained in:
parent
488d875854
commit
152aab4903
@ -161,8 +161,10 @@ class Conf
|
||||
*/
|
||||
public function setEntityValues($db, $entity)
|
||||
{
|
||||
$this->entity = $entity;
|
||||
$this->setValues($db);
|
||||
if ($this->entity != $entity) {
|
||||
$this->entity = $entity;
|
||||
$this->setValues($db);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user