commit ab7ff1592997ebc1952d01006832bb1492812f51
Author: Christophe Galli <christophe@galligalli.ch>
Date:   Wed Feb 13 18:09:45 2013 +0100

    wrong return format when loading plugin controller

diff --git a/tmgmt.module b/tmgmt.module
index b3ec6fe..3f7f0d9 100644
--- a/tmgmt.module
+++ b/tmgmt.module
@@ -1200,7 +1200,7 @@ function _tmgmt_plugin_controller($type, $plugin = NULL, $controller = 'plugin',
     return $cache[$type][$controller][$plugin];
   }
   else {
-    return array_filter($cache[$type][$controller]);
+    return reset($cache[$type][$controller]);
   }
 }
 
