Commit daf44c81366960de09b6a1370dbab113180f4e4c

Authored by Michael Joseph
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
lib/foldermanagement/Folder.inc
... ... @@ -509,7 +509,7 @@ class Folder {
509 509 function getFolderDisplayPath($iFolderID) {
510 510 global $default;
511 511 $aPathNamesArray = Folder::getFolderPathNamesAsArray($iFolderID);
512   - if (count($aPathNamesArray) > 1) {
  512 + if (count($aPathNamesArray) > 0) {
513 513 return implode(" > ", $aPathNamesArray);
514 514 } else {
515 515 return "";
... ...