Posted by Jeff Burnz on February 10, 2012 at 5:21pm
2 followers
Jump to:
| Project: | Mobile Tools |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
...in mobile_tools\mobile_tools_context\plugins\access\is_mobile.inc on line 63
Searched but not declared anywhere, is this meant to be another newer function?
<?php
function mobile_tools_context_is_mobile_ctools_access_check($conf, $contexts) {
$browser = mobile_tools_is_mobile_device();
if ($conf['mobile_any'] && $browser['type'] == 'mobile') {
return TRUE;
}
$access = in_array($browser['group'], $conf['mobile_list']);
if (in_array($browser['type'], $conf['mobile_list']) && $browser['type'] == 'mobile') {
return TRUE;
}
return $access;
}
?>
Comments
#1
The 7.x-2.x branch of Mobile Tools in now unsupported.
#2
Hi,
I'm experiencing this issue with the last 7.3 version. any clue what can cause this error?