mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +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) {
|
||||
return $this->_valueset[0];
|
||||
} elseif($this->_multiple) {
|
||||
if($this->_type == SeedDMS_Core_AttributeDefinition::type_user || $this->_type == SeedDMS_Core_AttributeDefinition::type_group)
|
||||
return ',';
|
||||
else
|
||||
if($this->_type == SeedDMS_Core_AttributeDefinition::type_boolean)
|
||||
return '';
|
||||
else
|
||||
return ',';
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user