fixup formatting nits after commit 2e912e8
[racktables] / wwwroot / inc / interface-lib.php
index b045baed637c8f0c8b1c4a25843fe949aa2d809e..548ad475569828546c8f42fddbf4c07cd3333250 100644 (file)
@@ -335,7 +335,8 @@ function getSelect ($optionList, $select_attrs = array(), $selected_id = NULL, $
        {
                foreach ($optionList as $key => $value)
                        break;
-               return "<input type=hidden name=${select_attrs['name']} id=${select_attrs['name']} value=${key}>" . $value;
+               return "<input type=hidden name=${select_attrs['name']} id=${select_attrs['name']} value=${key}>" .
+                       stringForLabel ($value, 64);
        }
        if (!array_key_exists ('id', $select_attrs))
                $select_attrs['id'] = $select_attrs['name'];