X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1cdc30c5e826b0378c28cb60e17a0f409f936b43..7617a9316ed9e541819b5a1700a07aa4d9637583:/lib-php/lib.php diff --git a/lib-php/lib.php b/lib-php/lib.php index 6c1fddd0..d95ad4ee 100644 --- a/lib-php/lib.php +++ b/lib-php/lib.php @@ -221,6 +221,8 @@ function closestHouseNumber($aRow) if (!function_exists('array_key_last')) { function array_key_last(array $array) { - if (!empty($array)) return key(array_slice($array, -1, 1, true)); + if (!empty($array)) { + return key(array_slice($array, -1, 1, true)); + } } }