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:
parent
833690a1b8
commit
a02b525fc1
@ -90,7 +90,7 @@ function isAssoc($arr) {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function SelectorOptions($name, $options, $selected = null) {
|
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) {
|
foreach ( $options as $opt => $label) {
|
||||||
$select = '';
|
$select = '';
|
||||||
$key = isAssoc($options) ? $opt : $label;
|
$key = isAssoc($options) ? $opt : $label;
|
||||||
|
Loading…
Reference in New Issue
Block a user