From ed3f9e49863ec4a3c92835277ffbaec1d7e3c33e Mon Sep 17 00:00:00 2001
From: Jean-Christian Denis
Date: Sat, 23 Oct 2021 17:08:20 +0200
Subject: [PATCH] fix form field type
---
index.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.php b/index.php
index 03ecf2a..5ac06e3 100644
--- a/index.php
+++ b/index.php
@@ -266,7 +266,7 @@ if ($_REQUEST['part'] == 'period') {
form::combo('period_pub_int',$per->getTimesCombo(), $period_pub_int) . '
' .
- form::field('period_pub_nb', 10, 3, html::escapeHTML($period_pub_nb)) . '
+ form::number('period_pub_nb', ['min' => 1, 'max' => 20, 'default' => $period_pub_nb]) . '