mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!$success)
|
||||||
|
return $success;
|
||||||
|
|
||||||
/* Check if value is in value set */
|
/* Check if value is in value set */
|
||||||
if($valueset = $this->getValueSetAsArray()) {
|
if($valueset = $this->getValueSetAsArray()) {
|
||||||
foreach($values as $value) {
|
foreach($values as $value) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user