Merged in bugfix/HOR-3361 (pull request #5786)
HOR-3344 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com> Approved-by: Paula Quispe <paula.quispe@processmaker.com>
This commit is contained in:
@@ -280,7 +280,6 @@ class WebEntryEvent
|
||||
$this->arrayFieldDefinition['WE_LINK_SKIN']['empty'] = false;
|
||||
$this->arrayFieldDefinition['WE_LINK_LANGUAGE']['empty'] = false;
|
||||
$this->arrayFieldDefinition['WE_LINK_DOMAIN']['empty'] = false;
|
||||
}
|
||||
$modelSkins = new \ProcessMaker\BusinessModel\Skins();
|
||||
$skins = [];
|
||||
foreach ($modelSkins->getSkins() as $mSkin) {
|
||||
@@ -293,6 +292,7 @@ class WebEntryEvent
|
||||
$languages[] = $mLang['LANG_ID'];
|
||||
}
|
||||
$this->arrayFieldDefinition['WE_LINK_LANGUAGE']['defaultValues'] = $languages;
|
||||
}
|
||||
|
||||
$process->throwExceptionIfDataNotMetFieldDefinition($arrayData, $this->arrayFieldDefinition, $this->arrayFieldNameForException, $flagInsert);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user