From: vincent@cubedesigners.com Date: Fri, 26 Jun 2020 17:21:39 +0000 (+0000) Subject: fix #3136 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7384b1e7fe6af2b5516c7742b7e33814a4c1b9fc;p=cubeextranet.git fix #3136 @0.25 --- diff --git a/inc/ws/Controlleur/class.ws.ajax.php b/inc/ws/Controlleur/class.ws.ajax.php index 0ea7bdf7b..d5c353c0b 100644 --- a/inc/ws/Controlleur/class.ws.ajax.php +++ b/inc/ws/Controlleur/class.ws.ajax.php @@ -207,6 +207,7 @@ class wsAjax extends cubeAjax $dao = new wsDAOBook($core->con); if ($_POST['book'] != '') { $book = $dao->duplicate($_POST['book'], $core->user->utilisateur_id, $_POST['title'], isset($_POST['pages'])); + wsMaintenance::copyLinks([$_POST['book'],$book->book_id]); } else { $book = $dao->creeEmpty($core->user->utilisateur_id, $core->user->lang, $_POST['title']); }