--- a/phonebookengines/contactsmodel/cntplsql/src/cpplcontacttable.cpp Fri Jun 11 13:29:23 2010 +0300
+++ b/phonebookengines/contactsmodel/cntplsql/src/cpplcontacttable.cpp Wed Jun 23 18:02:44 2010 +0300
@@ -443,7 +443,8 @@
User::LeaveIfError(stmnt.BindText(KParamIndex, textToSet));
} }
else if (field.StorageType() == KStorageTypeText && // the field is textual
- field.TextStorage()->Text().Length() ) // ignore empty fields
+ field.TextStorage()->Text().Length() && // ignore empty fields
+ custFiltFields != NULL)
{
// the field is not stored in contact table but potentially maps to a hint
hint.UpdateHintL(field, *custFiltFields);