From 7384b1e7fe6af2b5516c7742b7e33814a4c1b9fc Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 26 Jun 2020 17:21:39 +0000 Subject: [PATCH] fix #3136 @0.25 --- inc/ws/Controlleur/class.ws.ajax.php | 1 + 1 file changed, 1 insertion(+) 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']); } -- 2.39.5