Skip to content

Commit

Permalink
Bugfix for __toString method
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard Fischer committed Feb 12, 2011
1 parent 6241ba5 commit 0c2b875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/gmap/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ protected static function validate_longitude($lng)
*/
protected static function validate_maptype($maptype)
{
$maptype = strtolower(trim($maptype));
$maptype = trim($maptype);

if (! array_key_exists($maptype, Gmap::$maptypes) AND ! in_array($maptype, Gmap::$maptypes))
{
Expand Down

0 comments on commit 0c2b875

Please sign in to comment.