- fixed bug in LetoDMS_Core_Document::getPath()

This commit is contained in:
steinm 2012-03-28 06:32:14 +00:00
parent 148c5972cb
commit 33e24bc749

View File

@ -1708,7 +1708,7 @@ class LetoDMS_Core_DocumentContent { /* {{{ */
return $this->_user;
} /* }}} */
// function getPath() { return $this->_dir . $this->_version . $this->_fileType; }
function getPath() { return $this->_document->getID() .'/'. $this->_version . $this->_fileType; }
function getPath() { return $this->_document->getDir() . $this->_version . $this->_fileType; }
function setComment($newComment) { /* {{{ */
$db = $this->_document->_dms->getDB();