Skip to content

Commit

Permalink
Removed wrong default values in the google maps constructor
Browse files Browse the repository at this point in the history
If you create a "JGoogleEmbedMaps" instance, all parameters will be ignored.

=> Apply patch => test again
  • Loading branch information
bembelimen committed Aug 24, 2014
1 parent f46f93c commit 030dee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/google/embed/maps.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class JGoogleEmbedMaps extends JGoogleEmbed
*/
public function __construct(JRegistry $options = null, JUri $uri = null, JHttp $http = null)
{
parent::__construct($options = null, $uri = null);
parent::__construct($option, $uri);
$this->http = $http ? $http : new JHttp($this->options);
}

Expand Down

0 comments on commit 030dee7

Please sign in to comment.