Code

Fixed multi query editor
[gosa.git] / gosa-core / include / class_pathNavigator.inc
index 601b8908294b97cfd890a12ee1b035f9d9c02ffd..520f03d75f69c16a75815cfa09dcd24ea76351e0 100644 (file)
@@ -3,10 +3,10 @@
 class pathNavigator
 {
 
-  static function registerPlugin($class)
+  static function registerPlugin($class, $title= "")
   {
     
-    $str = $title = "";
+    $str = "";
 
     // Display headline of management plugins
     if($class instanceOf management && isset($class->plHeadline)){
@@ -38,7 +38,9 @@ class pathNavigator
           session::set("pathNavigator::registerPlugin:{$class->dn}", $str);
         }
         $str = session::get("pathNavigator::registerPlugin:{$class->dn}");
-        $title = $class->dn;
+        if(empty($title)){
+          $title = $class->dn;
+        }
       }
     }