mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
ac1c2a55e2
|
@ -6404,7 +6404,6 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
if($this->_fileType != '.'.$expect) {
|
||||
$db->startTransaction();
|
||||
$queryStr = "UPDATE `tblDocumentContent` SET `fileType`='.".$expect."' WHERE `id` = ". $this->_id;
|
||||
echo $queryStr."<br />";
|
||||
$res = $db->getResult($queryStr);
|
||||
if ($res) {
|
||||
if(!SeedDMS_Core_File::renameFile($this->_dms->contentDir.$this->_document->getDir() . $this->_version . $this->_fileType, $this->_dms->contentDir.$this->_document->getDir() . $this->_version . '.' . $expect)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user