Commit f769aee4381bea1ca796f296f32d00ccf7a92e98

Authored by Michael Joseph
1 parent ee1a1bbe

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 }