I get the notice

Notice: Undefined index: ismobiledevice in browscap_ctools_browscap_access_ctools_access_check()(line 34 of <httpdocs>/sites/all/modules/browscap_ctools/plugins/access/browscap_access.inc

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fox_01’s picture

Issue summary: View changes
srobert72’s picture

Same problem with 7.x-1.0 and 7.x-1.x-dev

pvasili’s picture

Title: Notice: Undefined index: ismobiledevice in browscap_ctools_browscap_access_ctools_access_check » Module not working (Notice: Undefined index: ... )
Version: 7.x-1.0 » 7.x-1.x-dev
Priority: Normal » Critical
Issue tags: +Module not working
dpovshed’s picture

Title: Module not working (Notice: Undefined index: ... ) » Notice: Undefined index: ismobiledevice in browscap_ctools_browscap_access_ctools_access_check
Priority: Critical » Normal
Issue tags: -Module not working
FileSize
891 bytes

Please check the patch

dpovshed’s picture

Status: Active » Needs review
hamrant’s picture

Status: Needs review » Reviewed & tested by the community

looks good

pinueve’s picture

+1 #4

Thomas_Zahreddin’s picture

The error can be a result of the missing array or key, to handle this, see the attached patch.