mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
5278732456
|
@ -239,6 +239,9 @@
|
|||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.28
|
||||
--------------------------------------------------------------------------------
|
||||
- user information in user manager failed to load when a document content
|
||||
with 0 bytes was created by the user
|
||||
- fix repair of wrong file extension
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.27
|
||||
|
|
|
@ -1736,7 +1736,7 @@ class SeedDMS_Core_User { /* {{{ */
|
|||
foreach ($resArr as $row) {
|
||||
$document = $this->_dms->getDocument($row["document"]);
|
||||
/** @var SeedDMS_Core_DocumentContent $content */
|
||||
$content = new $classname((int) $row["id"], $this, $row["version"], $row["comment"], $row["date"], $row["createdBy"], $row["dir"], $row["orgFileName"], $row["fileType"], $row["mimeType"], $row['fileSize'], $row['checksum']);
|
||||
$content = new $classname((int) $row["id"], $document, $row["version"], $row["comment"], $row["date"], $row["createdBy"], $row["dir"], $row["orgFileName"], $row["fileType"], $row["mimeType"], $row['fileSize'], $row['checksum']);
|
||||
$contents[] = $content;
|
||||
}
|
||||
return $contents;
|
||||
|
|
|
@ -137,7 +137,7 @@ class SeedDMS_Core_File {
|
|||
case "image/png":
|
||||
case "image/gif":
|
||||
case "image/jpg":
|
||||
$expect = substr($this->_mimeType, -3, 3);
|
||||
$expect = substr($mimetype, -3, 3);
|
||||
break;
|
||||
default:
|
||||
$mime_map = [
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
<email>uwe@steinmann.cx</email>
|
||||
<active>yes</active>
|
||||
</lead>
|
||||
<date>2022-09-18</date>
|
||||
<date>2022-10-10</date>
|
||||
<time>13:44:55</time>
|
||||
<version>
|
||||
<release>6.0.20</release>
|
||||
<api>6.0.20</api>
|
||||
<release>6.0.21</release>
|
||||
<api>6.0.21</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
|
@ -24,8 +24,8 @@
|
|||
</stability>
|
||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||
<notes>
|
||||
- all changes from 5.1.27 merged
|
||||
- SeedDMЅ_Core_DMS::getDocumentsInRevision() returns status from revision log
|
||||
- fix SeedDMS_Core_User::getDocumentContents()
|
||||
- fix SeedDMS_Core_File::fileExtension()
|
||||
</notes>
|
||||
<contents>
|
||||
<dir baseinstalldir="SeedDMS" name="/">
|
||||
|
|
Loading…
Reference in New Issue
Block a user