diff --git a/lang/en.json b/lang/en.json
index c9a9c11929c5e68924cf201b129ea2e74247d63b..4147cc1165eff9b75caed10408184c710620b7d2 100755
--- a/lang/en.json
+++ b/lang/en.json
@@ -13,7 +13,7 @@
         "annotationAdded": "Annotation added",
         "annotationMode": "Annotation mode",
         "appleStylus": "Apple stylus",
-        "areYouSure": "Are you sure?",
+        "areYouSure": "Do you want to perform this action ?",
         "atRange": "at",
         "attachmentAdded": "Attachment added",
         "attachmentViewed": "Attachment viewed",
diff --git a/lang/fr.json b/lang/fr.json
index bfcad10f72c2eb42d69b84a58c76a82d3411a956..64c1ed02b9a24607f786ccf0b52b8d339fe5a8ec 100755
--- a/lang/fr.json
+++ b/lang/fr.json
@@ -13,7 +13,7 @@
 		"annotationAdded"                    : "Annotation ajoutée",
 		"annotationMode"                     : "Mode de l'annotation",
 		"appleStylus"                        : "Stylet Apple",
-		"areYouSure"                         : "Êtes-vous sûr ?",
+		"areYouSure"                         : "Voulez-vous effectuer cette action ?",
 		"atRange"                            : "à",
 		"attachmentAdded"                    : "Pièce jointe ajoutée",
 		"attachmentViewed"                   : "Pièce jointe consulté",
diff --git a/src/app/document/controllers/DocumentController.php b/src/app/document/controllers/DocumentController.php
index 17f8c5f7887e9ae9ae101f75552f548d3e202637..a4f05f673d49fe324163166874d7f0c7b03b0db8 100755
--- a/src/app/document/controllers/DocumentController.php
+++ b/src/app/document/controllers/DocumentController.php
@@ -1190,7 +1190,7 @@ class DocumentController
 
         $args['readOnly'] = $args['readOnly'] ?? false;
         $args['id']       = (int)$args['id'];
-        $args['userId']   = (int)$args['usreId'];
+        $args['userId']   = (int)$args['userId'];
 
         $document = DocumentModel::getById(['select' => ['typist'], 'id' => $args['id']]);
         if (!empty($document['typist']) && $document['typist'] == $GLOBALS['id']) {