fix form field type

This commit is contained in:
Jean-Christian Denis 2021-10-23 17:08:20 +02:00
parent 779b46aca8
commit ed3f9e4986
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -266,7 +266,7 @@ if ($_REQUEST['part'] == 'period') {
form::combo('period_pub_int',$per->getTimesCombo(), $period_pub_int) . '</p>
<p><label for="period_pub_nb">' . __('Number of entries to publish every time:') . '</label>' .
form::field('period_pub_nb', 10, 3, html::escapeHTML($period_pub_nb)) . '</p>
form::number('period_pub_nb', ['min' => 1, 'max' => 20, 'default' => $period_pub_nb]) . '</p>
</div>