Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2021-03-16 19:15:23 +01:00
commit 18cfdb3efe
3 changed files with 7 additions and 0 deletions

View File

@ -2777,6 +2777,11 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
}
// remove all document files
/* make sure to get all attachments because _removeContent() did remove
* the attachments of a version already and the list of attachments
* is still stored in _documentFiles
* */
unset($this->_documentFiles);
$res = $this->getDocumentFiles();
if (is_bool($res) && !$res) {
$db->rollbackTransaction();

View File

@ -1885,6 +1885,7 @@ add method SeedDMS_Core_DatabaseAccess::setLogFp()
- add parameter $incdisabled to SeedDMS_Core_Folder::getNotifyList()
- do not validate value in SeedDMS_Core_Attribute::setValue(), it should have been done before
- SeedDMS_Core_DMS::search() can search for last date of document status change
- fix SeedDMS_Core_Document::remove when version had its own attachments
</notes>
</release>
<release>

View File

@ -1153,6 +1153,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
((isset($value['value']) && is_string($value['value'])) || !empty($value['value']) ? ' value="'.$value['value'].'"' : '').
(!empty($value['placeholder']) ? ' placeholder="'.$value['placeholder'].'"' : '').
(!empty($value['autocomplete']) ? ' autocomplete="'.$value['autocomplete'].'"' : '').
(isset($value['min']) ? ' min="'.$value['min'].'"' : '').
(!empty($value['checked']) ? ' checked' : '').
(!empty($value['required']) ? ' required' : '');
if(!empty($value['attributes']) && is_array($value['attributes']))