mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
fix removal of empty attributes
This commit is contained in:
parent
39d7eb045e
commit
b4a45918d0
|
@ -99,7 +99,7 @@ if($attributes) {
|
|||
}
|
||||
}
|
||||
} elseif(isset($oldattributes[$attrdefid])) {
|
||||
if(!$folder->removeAttribute($dms->getAttributeDefinition($attrdefid)))
|
||||
if(!$version->removeAttribute($dms->getAttributeDefinition($attrdefid)))
|
||||
UI::exitError(getMLText("document_title", array("documentname" => $folder->getName())),getMLText("error_occured"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user