mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
fix validation return value
This commit is contained in:
parent
d329de7036
commit
b6ce91c8ee
|
@ -942,8 +942,10 @@ class SeedDMS_Core_AttributeDefinition { /* {{{ */
|
|||
$values = array($attrvalue);
|
||||
} else
|
||||
$values = $attrvalue;
|
||||
} else {
|
||||
} elseif($attrvalue) {
|
||||
$values = array($attrvalue);
|
||||
} else {
|
||||
$values = array();
|
||||
}
|
||||
|
||||
$this->_validation_error = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user