BUG 8069 PagedTable for HOME>>DOCUMENTS got ISSUES SOLVED

- The same document can be uploaded more than once even if the option overwrite is checked.
- Was add this functionality.
This commit is contained in:
Marco Antonio Nina
2012-09-12 09:33:18 -04:00
parent 90d465811a
commit 4f3003cbf8

View File

@@ -912,7 +912,7 @@ function documentVersionHistory()
function overwriteFile ($node, $fileName) {
global $RBAC;
require_once ("classes/model/AppFolder.php");
include_once ("classes/model/AppDocument.php");
require_once ("classes/model/AppDocument.php");
$appDocument = new AppDocument();
$pMFolder = new AppFolder();
$user = ($RBAC->userCanAccess('PM_ALLCASES') == 1) ? '' : $_SESSION['USER_LOGGED'];