mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +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);
|
$values = array($attrvalue);
|
||||||
} else
|
} else
|
||||||
$values = $attrvalue;
|
$values = $attrvalue;
|
||||||
} else {
|
} elseif($attrvalue) {
|
||||||
$values = array($attrvalue);
|
$values = array($attrvalue);
|
||||||
|
} else {
|
||||||
|
$values = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_validation_error = 0;
|
$this->_validation_error = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user