]> _ Git - cubeextranet.git/commitdiff
wait #2572 @1
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 4 Feb 2019 16:38:40 +0000 (16:38 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 4 Feb 2019 16:38:40 +0000 (16:38 +0000)
inc/ws/Controlleur/class.ws.flash.php

index 0100a12881931b5b4d962f9d85b49a50a47fe8b2..21573451b687f1ac2eacf9214c012d8c02071351 100644 (file)
@@ -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();