mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
fix saving of multi value attributes
This commit is contained in:
parent
cd1bff73be
commit
9f758667c4
|
@ -451,7 +451,7 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
|
|||
|
||||
if($attributes) {
|
||||
foreach($attributes as $attrdefid=>$attribute) {
|
||||
if(trim($attribute))
|
||||
if($attribute)
|
||||
if(!$newFolder->setAttributeValue($this->_dms->getAttributeDefinition($attrdefid), $attribute)) {
|
||||
$db->rollbackTransaction();
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user