2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added strip tags to stop errors within dropdown boxes (eg remove <br/> tags)

This commit is contained in:
azammitdcarf
2009-07-29 00:45:26 +00:00
parent 6fe9465084
commit 1d03878bbe

View File

@@ -176,7 +176,7 @@ function display_chooser($elements, $selectid, $var, $useblank = true, $pass = f
else
if (strcmp($selected[1],$e[$selected[0]]) == 0) print "selected='selected'";
print ">".$e['description']."</option>";
print ">".strip_tags($e['description'])."</option>";
}
print "</select>";
if ($indiv) print "</div>";