Commit bf4366b2275b7386655f834561bab77e633ed659
1 parent
af09eecd
fixed error that occurs when searching when browsing by document -
call to old function replaced with call to new function git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1908 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/search/standardSearchBL.php
| ... | ... | @@ -109,7 +109,8 @@ if (checkSession()) { |
| 109 | 109 | } else if (strlen($fDocumentID) > 0) { |
| 110 | 110 | //the user was viewing a document, search in that document's folder |
| 111 | 111 | $oDocument = Document::get($fDocumentID); |
| 112 | - $sFolderString = getApprovedFolderString($oDocument->getFolderID()); | |
| 112 | + //$sFolderString = getApprovedFolderString($oDocument->getFolderID()); | |
| 113 | + $sFolderString = getFolderString($oDocument->getFolderID()); | |
| 113 | 114 | require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); |
| 114 | 115 | $oPatternCustom = & new PatternCustom(); |
| 115 | 116 | //$oPatternCustom->setHtml(getPage($fStandardSearchString, $fBrowseType, $fFolderID, $fDocumentID, $fCategoryName, $fDocType, $sFolderString, $fStartIndex, getSQLSearchString($fStandardSearchString))); | ... | ... |