From d90fe5a6fab2b61208d3d3c791819c14242edc87 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 30 Jan 2010 12:24:46 +1100 Subject: [PATCH] Enabled configuring template to ask for more than 1 attribute value --- lib/Attribute.php | 4 ++++ 1 file changed, 4 insertions(+) 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(