Fixes delete personal file in documents see #7457

1.9.x
Julio 11 years ago
parent e3ecc3f2d4
commit 533b038501
  1. 2
      main/document/document.php

@ -180,6 +180,8 @@ if (Portfolio::controller()->accept()) {
Portfolio::controller()->run(); Portfolio::controller()->run();
} }
$curdirpath = isset($_GET['curdirpath']) ? Security::remove_XSS($_GET['curdirpath']) : null;
switch ($action) { switch ($action) {
case 'delete_item': case 'delete_item':
if ($is_allowed_to_edit || if ($is_allowed_to_edit ||

Loading…
Cancel
Save