1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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

This commit is contained in:
Bill Zimmerman 2018-08-15 11:30:24 -07:00
parent 833690a1b8
commit a02b525fc1

View File

@ -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;