diff -r 5586b4d2ec3e -r 0d28c1c5b6dd phonebookengines/contactsmodel/cntplsql/src/pplcontactitemmanager.cpp --- a/phonebookengines/contactsmodel/cntplsql/src/pplcontactitemmanager.cpp Wed Apr 14 15:45:35 2010 +0300 +++ b/phonebookengines/contactsmodel/cntplsql/src/pplcontactitemmanager.cpp Tue Apr 27 16:23:35 2010 +0300 @@ -571,7 +571,14 @@ CContactIdArray* CPplContactItemManager::MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight) { // Call comm address table - return static_cast(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight); + if (aMatchLengthFromRight == KBestMatchingPhoneNumbers) + { + return static_cast(iCommAddrTable)->BestMatchingPhoneNumberL(aNumber); + } + else + { + return static_cast(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight); + } } /**