Index: themekey_base.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/themekey/themekey_base.inc,v
retrieving revision 1.5
diff -u -r1.5 themekey_base.inc
--- themekey_base.inc	13 Jan 2009 21:20:47 -0000	1.5
+++ themekey_base.inc	3 Jul 2009 18:50:39 -0000
@@ -128,13 +128,13 @@
   $parts = explode('/', $path);
   foreach ($parts as $part) {
     if (is_array($value) && isset($value[$part])) {
-      $value = (array)$value[$part];
+      $value = $value[$part];
     }
     else {
       return NULL;
     }
   }
-  
+
   return is_array($value) ? array_keys($value) : $value;
 }
 
