mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Fixes #1248 - min value in $frm->number() options.
This commit is contained in:
parent
24f3750da6
commit
a2f7546e1f
@ -852,13 +852,11 @@ class e_form
|
||||
|
||||
$mlength = vartrue($maxlength) ? "maxlength=".$maxlength : "";
|
||||
|
||||
$min = varset($options['min']) ? 'min="'.$options['min'].'"' : '';
|
||||
$max = vartrue($options['max']) ? 'max="'.$options['max'].'"' : '';
|
||||
$min = isset($options['min']) ? 'min="'.$options['min'].'"' : '';
|
||||
$max = isset($options['max']) ? 'max="'.$options['max'].'"' : '';
|
||||
|
||||
$options = $this->format_options('text', $name, $options);
|
||||
|
||||
|
||||
|
||||
//never allow id in format name-value for text fields
|
||||
if(THEME_LEGACY === false)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user