Hi All

I am trying to get in work the mobile_tools_browscap module using the latest version of mobile_tools, browscap and purl. I detected on mobile_tools.module in mobile_tools_get_active_device_group() function that the _mobile_tools_get_active_purl_modifiers() is delivering all my mobile tools but later is returning by default the first element in that array,

I had to modify line 686 to this:

return $device_group;

as you can see i am forcing to use browscap to detect my mobile group (wich works) but i dont know how to code this in a cleaner way.


Carlos Garcia