--- Sites/drupal/sites/all/modules/drupal-contrib/mobile_tools/mobile_tools.module 2011-04-19 11:25:30.000000000 -0500 +++ Downloads/mobile_tools/mobile_tools.module 2011-03-23 21:19:53.000000000 -0500 @@ -196,7 +196,7 @@ function mobile_tools_device_redirect($d // code takes into account path exceptions in the configuration. $pages = variable_get('mobile_tools_redirect_exceptions', ''); $page_match = FALSE; - if($pages != '') { + if(isset($_GET['q']) && $pages != '') { //check if there is no exception in the redirect path (code comes from block.module) include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH);