Added missing double-quote. Fixes #222. Thanks @seebz

pull/1/head
Bill Zimmerman 7 years ago
parent 833690a1b8
commit a02b525fc1

@ -90,7 +90,7 @@ function isAssoc($arr) {
*
*/
function SelectorOptions($name, $options, $selected = null) {
echo '<select class="form-control" name="'.htmlspecialchars($name, ENT_QUOTES).'>' , PHP_EOL;
echo '<select class="form-control" name="'.htmlspecialchars($name, ENT_QUOTES).'">' , PHP_EOL;
foreach ( $options as $opt => $label) {
$select = '';
$key = isAssoc($options) ? $opt : $label;

Loading…
Cancel
Save