[FEATURE] ApiUtility: Unset mapping results if result is null
This commit is contained in:
parent
1e69ff8a25
commit
57b04f3245
@ -206,6 +206,9 @@ class ApiUtility
|
|||||||
$row,
|
$row,
|
||||||
$rowResult
|
$rowResult
|
||||||
);
|
);
|
||||||
|
if ($rowResult[$attributeName] === null) {
|
||||||
|
unset($rowResult[$attributeName]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$result[] = $rowResult;
|
$result[] = $rowResult;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user