mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 23:16:03 +00:00
fix integrations
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user