Add test if actual entity is different to the entity provided

This commit is contained in:
kamel 2021-10-18 10:10:31 +02:00
parent 488d875854
commit 152aab4903

View File

@ -161,8 +161,10 @@ class Conf
*/ */
public function setEntityValues($db, $entity) public function setEntityValues($db, $entity)
{ {
$this->entity = $entity; if ($this->entity != $entity) {
$this->setValues($db); $this->entity = $entity;
$this->setValues($db);
}
} }
/** /**