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,9 +161,11 @@ class Conf
*/ */
public function setEntityValues($db, $entity) public function setEntityValues($db, $entity)
{ {
if ($this->entity != $entity) {
$this->entity = $entity; $this->entity = $entity;
$this->setValues($db); $this->setValues($db);
} }
}
/** /**
* Load setup values into conf object (read llx_const) * Load setup values into conf object (read llx_const)