use int instead of float for spinner value
This commit is contained in:
parent
ece4d261c4
commit
c906af1010
|
@ -20,10 +20,10 @@ function form_hidden($name, $value)
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param string $label
|
* @param string $label
|
||||||
* @param float $value
|
* @param int $value
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function form_spinner(string $name, string $label, float $value)
|
function form_spinner(string $name, string $label, int $value)
|
||||||
{
|
{
|
||||||
$id = 'spinner-' . $name;
|
$id = 'spinner-' . $name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue