validate() returns early if error was found

This commit is contained in:
Uwe Steinmann 2016-10-27 17:47:47 +02:00
parent 58bee377a0
commit 758ce0a24d

View File

@ -956,6 +956,9 @@ class SeedDMS_Core_AttributeDefinition { /* {{{ */
break;
}
if(!$success)
return $success;
/* Check if value is in value set */
if($valueset = $this->getValueSetAsArray()) {
foreach($values as $value) {