From: hickert Date: Thu, 11 Mar 2010 08:44:57 +0000 (+0000) Subject: Updated pathNavigator X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b91e6cecaa8e768584c663c9dabaa7187f7aa350;p=gosa.git Updated pathNavigator git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16404 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }