Commit 32508dcb359e271c5821d777e5ed3500e241a9b5

Authored by michael
1 parent db68da87

corrected util method to use passed in array


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2693 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/search/advancedSearchUtil.inc
@@ -39,7 +39,7 @@ function getChosenMetaDataTags($aVariables) { @@ -39,7 +39,7 @@ function getChosenMetaDataTags($aVariables) {
39 $i++; 39 $i++;
40 $sRowStart = $aKeys[$i]; 40 $sRowStart = $aKeys[$i];
41 while ((strcmp("adv_search_end", $sRowStart) != 0) && ($i < count($aKeys))) { 41 while ((strcmp("adv_search_end", $sRowStart) != 0) && ($i < count($aKeys))) {
42 - $aTagIDs[count($aTagIDs)] = $_POST[$aKeys[$i]]; 42 + $aTagIDs[count($aTagIDs)] = $aVariables[$aKeys[$i]];
43 $i++; 43 $i++;
44 $sRowStart = $aKeys[$i]; 44 $sRowStart = $aKeys[$i];
45 } 45 }