Closed (won't fix)
Project:
Mobile Tools
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
27 Sep 2009 at 15:44 UTC
Updated:
29 May 2012 at 15:46 UTC
Upgrading to php-5.3 renders mobile_tools unusable with barking like these:
Deprecated: Function eregi() is deprecated in /path/to/drupal/sites/all/modules/mobile_tools/mobile_tools.module on line 633
Changing eregi() calls to stripos() ones renders mobile_tools usable again - which is what the attached patch does.
| Comment | File | Size | Author |
|---|---|---|---|
| mobile_tools-php-5.3.patch | 2.67 KB | boobaa |
Comments
Comment #1
twom commentedThanks for the patch.
I am currently refactoring the module because of the number of outstanding issues.
This one will be added for sure!
Tom
Comment #2
twom commentedComment #3
simon georges commentedI think it's fine now, isn't it ? The only problem I had with PHP 5.3 is the one in #985040: PHP 5.3 compatibility ? Every browser is detected as a mobile browser. And I can see in the code that the patch from this issue has been integrated.
Comment #4
minoroffense commentedMobile Tools 1.x is no longer supported.