Change-Id: I69b129710e7170d5ea26f166cdfb6f848884b2f9
Signed-off-by: Gukhwan Cho <gh78.cho@samsung.com>
else
property_id = s_query->projection[i];
- type = __ctsvc_db_get_property_type(s_query->properties, s_query->property_count, s_query->projection[i]);
+ type = __ctsvc_db_get_property_type(s_query->properties, s_query->property_count, property_id);
if (type == CTSVC_VIEW_DATA_TYPE_INT)
ctsvc_record_set_int(record,property_id, ctsvc_stmt_get_int(stmt, i));
else if (type == CTSVC_VIEW_DATA_TYPE_STR)