From 98a31d30aae93f409ab3c45962c6556ca6e7d499 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Fri, 24 Jan 2003 09:16:28 +0000 Subject: [PATCH] changed getFolderPathAsArray method to return an array of folderIDs instead of folderNames --- lib/foldermanagement/Folder.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/foldermanagement/Folder.inc b/lib/foldermanagement/Folder.inc index 0676f63..decf26d 100644 --- a/lib/foldermanagement/Folder.inc +++ b/lib/foldermanagement/Folder.inc @@ -301,16 +301,16 @@ class Folder { * * @param int primary key of folder to generate path for * - * @return array full path of folder as an array + * @return array full path of folder as an array of folderIDs */ function getFolderPathAsArray($iFolderID) { global $default; //if the folder has a parent if (Folder::getParentFolderID($iFolderID) != 0) { $aPathArray = Folder::getFolderPathAsArray(Folder::getParentFolderID($iFolderID)); - $aPathArray[] = Folder::getFolderName($iFolderID); + $aPathArray[] = $iFolderID; } else { - $aPathArray[] = Folder::getFolderName($iFolderID); + $aPathArray[] = $iFolderID; } return $aPathArray; } -- libgit2 0.21.4