Skip to content

Commit c07cbd1

Browse files
author
L'In20Cible
committed
Updated datamap_c...
Proper check for embedded fields into DataMap.find.
1 parent 335a93f commit c07cbd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/modules/datamap/datamap_wrap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class DataMapSharedExt
6565
{
6666
return &(pDataMap->dataDesc[iCurrentIndex]);
6767
}
68-
else if (pCurrentDataDesc.td)
68+
else if (pCurrentDataDesc.fieldType == FIELD_EMBEDDED)
6969
{
7070
typedescription_t *pReturnValue = find(pCurrentDataDesc.td, szName);
7171
if (pReturnValue)

0 commit comments

Comments
 (0)