Commit de8f7731 authored by lyricnz's avatar lyricnz
Browse files

#344156: fix misplaced bracket

parent 8c97eac8
......@@ -397,7 +397,7 @@ function geonames_query($service, $query = array(), $options = NULL) {
if (!$result && !$data) {
$data = file_get_contents(geonames_service_url($service) . $querystring .'&app=drupal');
if ($data == FALSE) {
drupal_set_message(t('Fetching data from GeoNames failed... please try again later.', 'error'));
drupal_set_message(t('Fetching data from GeoNames failed... please try again later.'), 'error');
return FALSE;
}
else {
......@@ -1505,4 +1505,5 @@ function _geonames_gmap_markers($result) {
function theme_results($resultobj, $showfields = FALSE) {
// for backwards compatibility
return theme('geonames_table', $resultobj);
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment