kurund/CiviMobile — pull request #6 by michaellenahan (2011-12-15 10:39:26+00:00)
Title: fix for undefined offset error

On my local I got this error when I browsed to the drupal home page

Notice: Undefined offset: 2 in _civimobile_page() (line 127 of /clients/civicrm20111213/git/drupal/sites/all/modules/CiviMobile/civimobile.module).

I fixed this by wrapping the attempt to access element 2 of the array with an array_key_exists check