From 4f3003cbf81fc8a0bc2e30b7421f245907282b4e Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Date: Wed, 12 Sep 2012 09:33:18 -0400 Subject: [PATCH] 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. --- workflow/engine/methods/appFolder/appFolderAjax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/methods/appFolder/appFolderAjax.php b/workflow/engine/methods/appFolder/appFolderAjax.php index e0aefa46c..d958040e9 100755 --- a/workflow/engine/methods/appFolder/appFolderAjax.php +++ b/workflow/engine/methods/appFolder/appFolderAjax.php @@ -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'];