diff --git a/sites/all/modules/mobile_tools/mobile_tools.module b/sites/all/modules/mobile_tools/mobile_tools.module index 14590ba..5cfb0e9 100755 --- a/sites/all/modules/mobile_tools/mobile_tools.module +++ b/sites/all/modules/mobile_tools/mobile_tools.module @@ -276,7 +276,7 @@ function mobile_tools_device_redirect($device) { // code takes into account path exceptions in the configuration. $pages = variable_get('mobile_tools_redirect_exceptions', ''); $page_match = FALSE; - if(isset($_GET['q']) && $pages != '') { + if($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);