Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I think the property ismobiledevice
for mt_browscap_is_mobile_device
returns a string now. Not sure whether it's an update on browscap or some other thing. Anyway, attached the patch that might help.
Comment | File | Size | Author |
---|---|---|---|
ismobiledevice-property-1.patch | 604 bytes | dsdeiz |
Comments
Comment #1
Alex Savin CreditAttribution: Alex Savin commentedShouldn't this be fixed in browscap.module? Something like:
... in browscap_get_browser function?