diff --git a/mobile_tools.module b/mobile_tools.module
index 0334f4b..83c02c4 100755
--- a/mobile_tools.module
+++ b/mobile_tools.module
@@ -719,6 +719,7 @@ function mobile_tools_get_active_device_group() {
   // Next check for an active Space
   // @todo configure to handle multiple active spaces
   $space = spaces_get_space();
+  $device_groups = array();
 
   if (isset($spaces->type)) {
     return array(
@@ -729,7 +730,6 @@ function mobile_tools_get_active_device_group() {
   else {
     // In case the device group is requested before the Space is initialized
     // we detect based on the active PURL modifiers
-    $device_groups = array();
     $active = purl_active();
     $active = _mobile_tools_get_active_purl_modifiers($active->get());
 
@@ -744,7 +744,7 @@ function mobile_tools_get_active_device_group() {
     }
 
   }
-  return FALSE;
+  return $device_groups;
 }
 
 /**
