From 979932d8a68b3c2a85ed61f9c7393a60a7bed7fb Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 26 Jun 2020 17:10:17 +0000 Subject: [PATCH] fix #2124 --- inc/ws/Controlleur/class.ws.maintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Controlleur/class.ws.maintenance.php b/inc/ws/Controlleur/class.ws.maintenance.php index 628c1c16d..3d08d071e 100644 --- a/inc/ws/Controlleur/class.ws.maintenance.php +++ b/inc/ws/Controlleur/class.ws.maintenance.php @@ -85,6 +85,7 @@ class wsMaintenance $cmd = "cp -r $wf1 $wt"; echo `$cmd`; } + wsLinks::saveLinksInFile($to, $core->user->utilisateur_id, 'Copy links from #' . $from . ' to #' . $to, $tolinks, $torulers); } @@ -626,7 +627,6 @@ class wsMaintenance for ($i = 0; $i < $times; $i++) { $newbook = $dao->duplicate($book_id, $core->user->utilisateur_id, null, true, true); $new_id = $newbook->book_id; - self::copyComposition([$book_id, $new_id]); self::copyLinks([$book_id, $new_id], true); } } -- 2.39.5