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:
@@ -176,7 +176,7 @@ function display_chooser($elements, $selectid, $var, $useblank = true, $pass = f
|
|||||||
else
|
else
|
||||||
if (strcmp($selected[1],$e[$selected[0]]) == 0) print "selected='selected'";
|
if (strcmp($selected[1],$e[$selected[0]]) == 0) print "selected='selected'";
|
||||||
|
|
||||||
print ">".$e['description']."</option>";
|
print ">".strip_tags($e['description'])."</option>";
|
||||||
}
|
}
|
||||||
print "</select>";
|
print "</select>";
|
||||||
if ($indiv) print "</div>";
|
if ($indiv) print "</div>";
|
||||||
|
|||||||
Reference in New Issue
Block a user