ba5a45f930e3f2b65cf779155c65048c660110c5
Author: unknown
Date: 2009-06-03 10:31:47 -0400
diff --git a/controllers/components/toolbar.php b/controllers/components/toolbar.php
index 02fff3f..ddeec45 100644
--- a/controllers/components/toolbar.php
+++ b/controllers/components/toolbar.php
@@ -231,6 +231,10 @@ class ToolbarComponent extends Object {
trigger_error(sprintf(__d('debug_kit', 'Could not load DebugToolbar panel %s', true), $panel), E_USER_WARNING);
continue;
}
+
+ if (strpos($className, '.') !== false) {
+ list($plugin, $className) = explode('.', $className);
+ }
$panelObj =& new $className($settings);
if (is_subclass_of($panelObj, 'DebugPanel') || is_subclass_of($panelObj, 'debugpanel')) {
$this->panels[$panel] =& $panelObj;
