Fixed wrong airline in reverse lookup

* Air Arabia bug
* see https://discordapp.com/channels/539048679160676382/568904623151382546/608611828578254859
This commit is contained in:
Klaus Basan
2019-08-08 00:29:40 +02:00
committed by Mat Sutcliffe
parent 740cb5a536
commit b213f594c7
2 changed files with 4 additions and 4 deletions

View File

@@ -185,7 +185,7 @@ namespace BlackMisc
{
// nothing found so far
codesFound = this->findByNamesOrTelephonyDesignator(patternUsed.getName());
codesFound = this->ifPossibleReduceByTelephonyDesignator(patternUsed.getTelephonyDesignator());
codesFound = codesFound.ifPossibleReduceByTelephonyDesignator(patternUsed.getTelephonyDesignator());
codesFound = codesFound.ifPossibleReduceByCountry(patternUsed.getCountryIso());
}
else