Commit daf44c81366960de09b6a1370dbab113180f4e4c
1 parent
ff545b60
corrected error condition in getFolderDisplayPath
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2307 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/foldermanagement/Folder.inc
| @@ -509,7 +509,7 @@ class Folder { | @@ -509,7 +509,7 @@ class Folder { | ||
| 509 | function getFolderDisplayPath($iFolderID) { | 509 | function getFolderDisplayPath($iFolderID) { |
| 510 | global $default; | 510 | global $default; |
| 511 | $aPathNamesArray = Folder::getFolderPathNamesAsArray($iFolderID); | 511 | $aPathNamesArray = Folder::getFolderPathNamesAsArray($iFolderID); |
| 512 | - if (count($aPathNamesArray) > 1) { | 512 | + if (count($aPathNamesArray) > 0) { |
| 513 | return implode(" > ", $aPathNamesArray); | 513 | return implode(" > ", $aPathNamesArray); |
| 514 | } else { | 514 | } else { |
| 515 | return ""; | 515 | return ""; |