Skip to content
Snippets Groups Projects
Commit 12c67529 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Can upload files on services.

parent 21ff8109
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,10 @@
English Dolibarr ChangeLog
--------------------------------------------------------------
***** ChangeLog for 3.6.1 compared to 3.6.* *****
For users:
- Fix: Can upload files on services.
***** ChangeLog for 3.6 compared to 3.5.* *****
For users:
- New: Update ckeditor to version 4.
......
......@@ -141,7 +141,7 @@ if ($object->id)
print '</div>';
$modulepart = 'produit';
$permission = $user->rights->produit->creer;
$permission = (($object->type == 0 && $user->rights->produit->creer) || ($object->type == 1 && $user->rights->service->creer));
$param = '&id=' . $object->id;
include_once DOL_DOCUMENT_ROOT . '/core/tpl/document_actions_post_headers.tpl.php';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment