Skip to content

Commit

Permalink
Merge pull request #471 from Gumster/patch-1
Browse files Browse the repository at this point in the history
Update google_helper.php
  • Loading branch information
daylightstudio authored Jun 11, 2018
2 parents 1f341a8 + fcadd83 commit b24104b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel/modules/fuel/helpers/google_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ function google_map_url($address, $params = array())

// set output
$p['output'] = 'embed';
$url = 'http://maps.google.com/maps?'.http_build_query($p, '', '&');
$url = (is_https() ? 'https': 'http' ). '://maps.google.com/maps?'.http_build_query($p, '', '&');
$query_str = http_build_query($p, '', '&');
return $url;
}
Expand Down

0 comments on commit b24104b

Please sign in to comment.