fix validating multi value attributes

This commit is contained in:
Uwe Steinmann 2022-04-28 13:29:44 +02:00
parent c8bca55368
commit 8b4fc459ab
2 changed files with 3 additions and 0 deletions

View File

@ -1227,6 +1227,8 @@ class SeedDMS_Core_AttributeDefinition { /* {{{ */
$values = explode($attrvalue[0], substr($attrvalue, 1));
else
$values = array($attrvalue);
} elseif(is_array($attrvalue)) {
$values = $attrvalue;
} elseif(is_string($attrvalue) && !$attrvalue) {
$values = array();
} else

View File

@ -24,6 +24,7 @@
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
- fix validating multi value attributes
</notes>
<contents>
<dir baseinstalldir="SeedDMS" name="/">