Reviewed & tested by the community
Project:
Browscap CTools
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2016 at 23:16 UTC
Updated:
7 May 2020 at 21:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hamrant commentedgood fix
Comment #3
millionleaves commentedThis patch broke my site due to this error in line 10 (use of isarry instead of is_array)
+ if (isarry($browser) && array_key_exists('ismobiledevice',$browser) &&should be the following:
+ if (is_array($browser) && array_key_exists('ismobiledevice',$browser) &&New patch attached.
Comment #4
dpovshed commented@millionleaves I believe your patch should be addressed to the issue #2311787: Notice: Undefined index: ismobiledevice in browscap_ctools_browscap_access_ctools_access_check, to the patch in comment #8 by Thomas.
In this thread I just fixing the file permissions - that's all :)