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 Roland Rossgotterer
parent 95abfc50c0
commit 7689a9d900
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