From 7fdfa6d8b7c128d54ade690aeb59415f80d7deed Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Thu, 31 Oct 2019 17:00:21 +0100
Subject: [PATCH] FEAT #11698 TIME 0:15 Fix resource edition

---
 src/app/contentManagement/controllers/JnlpController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/contentManagement/controllers/JnlpController.php b/src/app/contentManagement/controllers/JnlpController.php
index 0ed0d2ebabe..d9f5afd4ae7 100755
--- a/src/app/contentManagement/controllers/JnlpController.php
+++ b/src/app/contentManagement/controllers/JnlpController.php
@@ -288,7 +288,7 @@ class JnlpController
             fwrite($file, $fileContent);
             fclose($file);
 
-            if (!empty($data['step']) && $data['step'] == 'end') {
+            if (!empty($body['step']) && $body['step'] == 'end') {
                 if (file_exists("{$tmpPath}{$GLOBALS['id']}_maarchCM_{$args['jnlpUniqueId']}.lck")) {
                     unlink("{$tmpPath}{$GLOBALS['id']}_maarchCM_{$args['jnlpUniqueId']}.lck");
                 }
-- 
GitLab