fix editing of document attachments

This commit is contained in:
Uwe Steinmann 2018-04-06 09:32:16 +02:00
parent ba98736dfb
commit 9ea9289fdf
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
--------------------------------------------------------------------------------
Changes in version 6.0.7
--------------------------------------------------------------------------------
- fix editing of document attachments
- merge changes up to 5.1.7
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Changes in version 6.0.6 Changes in version 6.0.6
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@ -30,7 +30,7 @@ include("../inc/inc.Authentication.php");
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user)); $view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
$accessop = new SeedDMS_AccessOperation($dms, $document, $user, $settings); $accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
if (!isset($_GET["documentid"]) || !is_numeric($_GET["documentid"]) || intval($_GET["documentid"])<1) { if (!isset($_GET["documentid"]) || !is_numeric($_GET["documentid"]) || intval($_GET["documentid"])<1) {
UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id")); UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_doc_id"))),getMLText("invalid_doc_id"));