Enabled configuring template to ask for more than 1 attribute value

This commit is contained in:
Deon George 2010-01-30 12:24:46 +11:00
parent ec8902a223
commit d90fe5a6fa

View File

@ -811,6 +811,10 @@ class Attribute {
case 'verify': $this->$index = $value; case 'verify': $this->$index = $value;
break; break;
case 'max':
if ($this->getMaxValueCount() == -1)
$this->setMaxValueCount($value);
default: default:
if (! $_SESSION[APPCONFIG]->getValue('appearance','hide_template_warning')) if (! $_SESSION[APPCONFIG]->getValue('appearance','hide_template_warning'))
system_message(array( system_message(array(