29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-24 22:39:31 +00:00

Merge pull request #6493 from bembelimen/patch-4

Throw errors from google while generation google maps coordinates
This commit is contained in:
George Wilson 2015-03-21 13:06:22 +00:00
commit 1387a63899

View File

@ -687,6 +687,11 @@ class JGoogleEmbedMaps extends JGoogleEmbed
if ($data['status'] != 'OK')
{
if (!empty($data['error_message']))
{
throw new RuntimeException($data['error_message']);
}
return null;
}