Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpatokal committed Dec 30, 2023
2 parents 93bb7d3 + 7f02f2f commit ff46169
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion php/apsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
if (strpos($ref, 'com.cathaypacific.iJourneyLite') !== false) {
die(
json_encode(
["status" => 0, "message" => "Cathay Pacific iJourneyLite is not licensed to use this API. Please contact [email protected] to resolve this."]
["status" => 0, "message" => "Cathay Pacific iJourneyLite is not licensed to use this API. Please contact [email protected] to resolve this."]
)
);
}
Expand Down
2 changes: 1 addition & 1 deletion php/locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$locale = $_SESSION["locale"];
}

if ($locale === null || $locale === '') {
if ($locale === null || $locale === '') {
// https://github.com/jpatokal/openflights/issues/1322
// If we've not already got a locale set (from $_SESSION or $_GET),
// see if we can use the HTTP ACCEPT_LANGUAGE header value
Expand Down
2 changes: 1 addition & 1 deletion php/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
default:
die(_('Error') . ';' .
sprintf(
_s('Query %s not understood. For airlines, please enter a 2-letter IATA code. For airports, please enter a 3-letter IATA or 4-letter ICAO code.'),
_('Query %s not understood. For airlines, please enter a 2-letter IATA code. For airports, please enter a 3-letter IATA or 4-letter ICAO code.'),
$param
));
}
Expand Down

0 comments on commit ff46169

Please sign in to comment.