diff --git a/core/manage_action.php b/core/manage_action.php index 934357edbf43f5239fea8f30b650c373a1ef01db..1d5815621e45e83dbac58be29840a765e4d86076 100755 --- a/core/manage_action.php +++ b/core/manage_action.php @@ -370,7 +370,6 @@ elseif (empty($_POST['values']) || !isset($_POST['action_id']) || empty($_POST[' $what .= $res_action['history_msg'][$i]; } $_SESSION['info'] = $what . ' '; - $_SESSION['cpt_info_basket'] = 0; if ($_POST['module'] == 'null') { $_POST['module'] = ''; } diff --git a/src/app/acknowledgementReceipt/controllers/AcknowledgementReceiptController.php b/src/app/acknowledgementReceipt/controllers/AcknowledgementReceiptController.php index ac4e1d7c1893a48940c1c447e597d5d3389b2618..78b17692b8ca1edaa53d3ac33389c5e6686ef381 100644 --- a/src/app/acknowledgementReceipt/controllers/AcknowledgementReceiptController.php +++ b/src/app/acknowledgementReceipt/controllers/AcknowledgementReceiptController.php @@ -81,7 +81,7 @@ class AcknowledgementReceiptController return $response->withStatus(404)->withJson(['errors' => 'Document not found on docserver']); } - $fingerprint = StoreController::getFingerPrint(['filePath' => $pathToDocument, 'mode' => 'SHA256']); + $fingerprint = StoreController::getFingerPrint(['filePath' => $pathToDocument]); if (!empty($value['fingerprint']) && $value['fingerprint'] != $fingerprint) { return $response->withStatus(400)->withJson(['errors' => 'Fingerprints do not match']); } diff --git a/src/app/action/controllers/ActionMethodController.php b/src/app/action/controllers/ActionMethodController.php index 0193daffd2241493167fd2392669b46d4e6e3f59..08b56cf0a040ceb3a214cad55c0b3f42d1823ccb 100644 --- a/src/app/action/controllers/ActionMethodController.php +++ b/src/app/action/controllers/ActionMethodController.php @@ -22,7 +22,6 @@ use SrcCore\models\ValidatorModel; use SrcCore\models\CurlModel; use AcknowledgementReceipt\models\AcknowledgementReceiptModel; - class ActionMethodController { use ActionMethodTraitAcknowledgementReceipt; diff --git a/src/app/resource/controllers/ResController.php b/src/app/resource/controllers/ResController.php index 5f693a007179c3e0db506c9811821b111380bd79..81d2ba86defeaf80cba9b638184d4964319c2463 100755 --- a/src/app/resource/controllers/ResController.php +++ b/src/app/resource/controllers/ResController.php @@ -419,7 +419,7 @@ class ResController return $response->withStatus(404)->withJson(['errors' => 'Document not found on docserver']); } - $fingerprint = StoreController::getFingerPrint(['filePath' => $pathToDocument, 'mode' => 'SHA256']); + $fingerprint = StoreController::getFingerPrint(['filePath' => $pathToDocument]); if (!empty($document['fingerprint']) && $document['fingerprint'] != $fingerprint) { return $response->withStatus(400)->withJson(['errors' => 'Fingerprints do not match']); }