Merged in bugfix/PMCORE-2923 (pull request #7870)

PMCORE-2923

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Andrea Adamczyk
2021-04-12 21:27:30 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -452,7 +452,7 @@ class AdditionalTables extends BaseAdditionalTables
if ($filter != '' && is_string($filter)) {
$stringOr = '';
$closure = '';
$types = array('INTEGER', 'BIGINT', 'SMALLINT', 'TINYINT', 'DECIMAL', 'DOUBLE', 'FLOAT', 'REAL');
$types = ['INTEGER', 'BIGINT', 'SMALLINT', 'TINYINT', 'DECIMAL', 'DOUBLE', 'FLOAT', 'REAL', 'BOOLEAN'];
foreach ($aData['FIELDS'] as $aField) {
if (($appUid == false && $aField['FLD_NAME'] != 'APP_UID') || ($appUid == true)) {
if (in_array($aField['FLD_TYPE'], $types)) {