diff --git a/lib/Attribute.php b/lib/Attribute.php index abe45bf..c4e489a 100644 --- a/lib/Attribute.php +++ b/lib/Attribute.php @@ -811,6 +811,10 @@ class Attribute { case 'verify': $this->$index = $value; break; + case 'max': + if ($this->getMaxValueCount() == -1) + $this->setMaxValueCount($value); + default: if (! $_SESSION[APPCONFIG]->getValue('appearance','hide_template_warning')) system_message(array(