Code

Updated navigator
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 13:11:00 +0000 (13:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 13:11:00 +0000 (13:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16455 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_pathNavigator.inc

index 1ebb7d42acc980ef69030ddb0a6b879eca2f34d1..601b8908294b97cfd890a12ee1b035f9d9c02ffd 100644 (file)
@@ -52,11 +52,7 @@ class pathNavigator
 
       if(!empty($title)) $title = " title='{$title}' ";
 
-      if(empty($cur)){
-        $cur.= "\n<li {$title} class='left path-element'>{$str}</li>";
-      }else{
-        $cur.= "\n<li {$title} class='left path-element'>{$str}</li>";
-      }
+      $cur.= "\n<li {$title} class='left path-element'>{$str}</li>";
       session::set('pathNavigator::position', $cur);
     }
   }