Merged in bugfix/HOR-2711 (pull request #5447)
HOR-2711 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -28,6 +28,7 @@ class pmDynaform
|
||||
private $dataSources = null;
|
||||
private $databaseProviders = null;
|
||||
private $propertiesToExclude = array();
|
||||
public static $prefixs = array("@@", "@#", "@%", "@?", "@$", "@=");
|
||||
|
||||
public function __construct($fields = array())
|
||||
{
|
||||
@@ -194,7 +195,7 @@ class pmDynaform
|
||||
$fn($json, $key, $value);
|
||||
}
|
||||
//set properties from trigger
|
||||
$prefixs = array("@@", "@#", "@%", "@?", "@$", "@=");
|
||||
$prefixs = self::$prefixs;
|
||||
if (is_string($value) && in_array(substr($value, 0, 2), $prefixs)) {
|
||||
$triggerValue = substr($value, 2);
|
||||
if (isset($this->fields["APP_DATA"][$triggerValue])) {
|
||||
|
||||
Reference in New Issue
Block a user