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.
I discovered a small typo in the latest Drupal 6 release of Mobile Tools. The "mobile_tools_devicecapability" function tries to retrieve a variable named "mobile-tools-device-capability"; but that parameter is actually named "mobile-tools-device-capabilities" in the database. Other modules may not be able to plug into the "Device capability detection" section of Mobile Tools as a result. I will include a patch below.
Comment | File | Size | Author |
---|---|---|---|
#1 | devicecapability_fix-1864932.patch | 488 bytes | slanger |
Comments
Comment #1
slanger CreditAttribution: slanger commentedThe following patch corrects a typo in the "mobile_tools_devicecapability" function.
I hope that helps!
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedThanks for the patch!
Committed to 6.x-2.x.