HOR-3436
This commit is contained in:
@@ -1980,6 +1980,12 @@ class AppSolr
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
foreach ($UnSerializedCaseData as $k => $value) {
|
foreach ($UnSerializedCaseData as $k => $value) {
|
||||||
|
//This validation is only for the 'checkbox' control for the BPMN forms,
|
||||||
|
//the request is not made to the database to obtain the control
|
||||||
|
//associated with the variable so as not to decrease the performance.
|
||||||
|
if (is_array($value) && count($value) === 1 && isset($value[0]) && !is_object($value[0]) && !is_array($value[0])) {
|
||||||
|
$value = $value[0];
|
||||||
|
}
|
||||||
if (! is_array ($value) && ! is_object ($value) && $value != '' && $k != 'SYS_LANG' && $k != 'SYS_SKIN' && $k != 'SYS_SYS') {
|
if (! is_array ($value) && ! is_object ($value) && $value != '' && $k != 'SYS_LANG' && $k != 'SYS_SKIN' && $k != 'SYS_SYS') {
|
||||||
// search the field type in array of dynaform fields
|
// search the field type in array of dynaform fields
|
||||||
if (! empty ($dynaformFieldTypes) && array_key_exists (trim ($k), $dynaformFieldTypes)) {
|
if (! empty ($dynaformFieldTypes) && array_key_exists (trim ($k), $dynaformFieldTypes)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user