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.

CommentFileSizeAuthor
#1 devicecapability_fix-1864932.patch488 bytesslanger
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slanger’s picture

Status: Active » Needs review
FileSize
488 bytes

The following patch corrects a typo in the "mobile_tools_devicecapability" function.

I hope that helps!

Devin Carlson’s picture

Status: Needs review » Fixed

Thanks for the patch!

Committed to 6.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.