From f03bac0ad018f971b982cd3a7489eb1f6b0c5634 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 4 Feb 2019 16:38:40 +0000 Subject: [PATCH] wait #2572 @1 --- inc/ws/Controlleur/class.ws.flash.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/ws/Controlleur/class.ws.flash.php b/inc/ws/Controlleur/class.ws.flash.php index 0100a1288..21573451b 100644 --- a/inc/ws/Controlleur/class.ws.flash.php +++ b/inc/ws/Controlleur/class.ws.flash.php @@ -614,6 +614,7 @@ class wsFlash extends cubeFlashGateway } if (wsDroits::admin()) { $types = range(1, 100); + $links = wsLinks::decryptLinks($links); } if ($this->json) { @@ -687,7 +688,7 @@ class wsFlash extends cubeFlashGateway $dao->setLinksAndRulers($this->args['book_id'], $this->args['links'], $this->args['rulers'], $comments, $core->user->utilisateur_id); $daoBook = new wsDAOBook($core->con); - $daoBook->setSpecialLinksAndRulers($this->args['book_id'],$this->args['specialLinks'], $this->args['specialRulers']); + $daoBook->setSpecialLinksAndRulers($this->args['book_id'], $this->args['specialLinks'], $this->args['specialRulers']); if (isset($this->args['getLinks'])) { $this->getLinks(); -- 2.39.5