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:
1 parent
6fe9465084
commit
1d03878bbe
1 file changed
+1
-1
@@ -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>";
|
||||
|
||||
Reference in new issue
Block a user