mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
return ',' as separator for most attr types, if value map is not set
This commit is contained in:
parent
c50be6d215
commit
32dda4b3e9
|
@ -692,10 +692,10 @@ class SeedDMS_Core_AttributeDefinition { /* {{{ */
|
||||||
if(strlen($this->_valueset) > 1) {
|
if(strlen($this->_valueset) > 1) {
|
||||||
return $this->_valueset[0];
|
return $this->_valueset[0];
|
||||||
} elseif($this->_multiple) {
|
} elseif($this->_multiple) {
|
||||||
if($this->_type == SeedDMS_Core_AttributeDefinition::type_user || $this->_type == SeedDMS_Core_AttributeDefinition::type_group)
|
if($this->_type == SeedDMS_Core_AttributeDefinition::type_boolean)
|
||||||
return ',';
|
|
||||||
else
|
|
||||||
return '';
|
return '';
|
||||||
|
else
|
||||||
|
return ',';
|
||||||
} else {
|
} else {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user