Commit d7b0be58d33e20853eed30a2e44aced4b34154c9

Authored by Michael Joseph
1 parent 25add65b

strip slashes from meta data tag names


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2520 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/search/advancedSearchUI.inc
... ... @@ -23,7 +23,7 @@ function getMetaData($aMetaTagIDs) {
23 23 $sCheckAllJavascript = "";
24 24 while ($sql->next_record()) {
25 25 $sCheckAllJavascript .= "document.MainForm.f_adv_$iRecordCount.checked=value;\n";
26   - $sMetaDataCheckBox = "<input type=\"checkbox\" " . wasSelected($sql->f("id"), $aMetaTagIDs) . " name=\"f_adv_$iRecordCount\" value=\"" . $sql->f("id") . "\"></td><td>" . $sql->f("name");
  26 + $sMetaDataCheckBox = "<input type=\"checkbox\" " . wasSelected($sql->f("id"), $aMetaTagIDs) . " name=\"f_adv_$iRecordCount\" value=\"" . $sql->f("id") . "\"></td><td>" . stripslashes($sql->f("name"));
27 27 $iRecordCount++;
28 28 if (($iRecordCount % 3) == 1) {
29 29 $sToRender .= "<tr><td>$sMetaDataCheckBox</td>\n";
... ...