}
if (wsDroits::admin()) {
$types = range(1, 100);
+ $links = wsLinks::decryptLinks($links);
}
if ($this->json) {
$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();