diff --git a/workflow/engine/classes/class.pmDynaform.php b/workflow/engine/classes/class.pmDynaform.php index 2ab1441e5..1fb8638ab 100644 --- a/workflow/engine/classes/class.pmDynaform.php +++ b/workflow/engine/classes/class.pmDynaform.php @@ -27,7 +27,7 @@ class pmDynaform private $context = array(); private $dataSources = null; private $databaseProviders = null; - private $propertyExclude = array(); + private $propertiesToExclude = array(); public function __construct($fields = array()) { @@ -38,7 +38,7 @@ class pmDynaform $this->serverConf = &serverConf::getSingleton(); $this->isRTL = ($this->serverConf->isRtl(SYS_LANG)) ? 'true' : 'false'; $this->fields = $fields; - $this->propertyExclude = array('dataVariable'); + $this->propertiesToExclude = array('dataVariable'); $this->getDynaform(); $this->getDynaforms(); $this->synchronizeSubDynaform(); @@ -198,11 +198,11 @@ class pmDynaform if (is_string($value) && in_array(substr($value, 0, 2), $prefixs)) { $triggerValue = substr($value, 2); if (isset($this->fields["APP_DATA"][$triggerValue])) { - if (!in_array($key, $this->propertyExclude)) { + if (!in_array($key, $this->propertiesToExclude)) { $json->{$key} = $this->fields["APP_DATA"][$triggerValue]; } } else { - if (!in_array($key, $this->propertyExclude)) { + if (!in_array($key, $this->propertiesToExclude)) { $json->{$key} = ""; } }