mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 04:56:06 +00:00
validate() returns early if error was found
This commit is contained in:
parent
58bee377a0
commit
758ce0a24d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user