This commit is contained in:
Yuri Kuznetsov
2014-09-11 17:36:58 +03:00
parent a269c0c96c
commit 330fef673a
10 changed files with 238 additions and 66 deletions
@@ -80,6 +80,9 @@ class Integration extends \Espo\Core\ORM\Entity
if ($this->hasField($name)) {
$this->valuesContainer[$name] = $value;
} else {
if (!$this->get('enabled')) {
return;
}
$data = json_decode($this->get('data'), true);
if (empty($data)) {
$data = array();