It works properly until you use a special icon (not the default one) then it throws an error and does not display the icon.kivipea wrote:I'm running 4.4.0, but yes, bcmath extension is disabled. Thanks for pointing this out.
But GM module seems to work properly also w/o bcmath. What functionality is actually contained in this 2 lines?
To solve this without changing the php settings you can do as follows:
in cnt.article.php
find (should be row 40):
Code: Select all
$content['googlemaps'] = array();
Code: Select all
if(!function_exists("bcdiv")){
function bcdiv($first, $second, $accuracy=2){
$res = $first/$second;
return round($res, $accuracy);
}
}