fix integrations

This commit is contained in:
yuri
2019-10-08 17:04:35 +03:00
parent 381a51b836
commit 48652e35ee

View File

@@ -31,7 +31,7 @@ namespace Espo\Entities;
class Integration extends \Espo\Core\ORM\Entity
{
public function get($name, $params = array())
public function get($name, $params = [])
{
if ($name == 'id') {
return $this->id;
@@ -100,6 +100,13 @@ class Integration extends \Espo\Core\ORM\Entity
}
}
public function isAttributeChanged($name)
{
if ($name === 'data') return true;
return parent::isAttributeChanged($name);
}
public function populateFromArray(array $arr, $onlyAccessible = true, $reset = false)
{
if ($reset) {