From b91e6cecaa8e768584c663c9dabaa7187f7aa350 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Mar 2010 08:44:57 +0000 Subject: [PATCH] Updated pathNavigator git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16404 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_pathNavigator.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_pathNavigator.inc b/gosa-core/include/class_pathNavigator.inc index 83872cc9e..fcbd1752f 100644 --- a/gosa-core/include/class_pathNavigator.inc +++ b/gosa-core/include/class_pathNavigator.inc @@ -6,10 +6,12 @@ class pathNavigator static function registerPlugin($class) { $str = ""; - if($class instanceOf management){ + if($class instanceOf management && isset($class->plHeadline)){ $str = "".$class->plHeadline.""; - }elseif($class instanceOf plugin){ + }elseif($class instanceOf plugin && isset($class->plHeadline)){ $str = $class->plHeadline; + }elseif($class instanceOf plugin && !isset($class->plHeadline)){ + $str = get_class($class); }elseif($class instanceOf tabs){ $str = $class->dn; } -- 2.30.2