From: vincent@cubedesigners.com Date: Fri, 9 Oct 2020 11:14:16 +0000 (+0000) Subject: fix #3940 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3ff24a9ee80100f2da3e53cd9da08e2dff3cc5fe;p=cubeextranet.git fix #3940 @0.25 --- diff --git a/inc/ws/DAO/class.ws.dao.book.php b/inc/ws/DAO/class.ws.dao.book.php index fe2989144..0f64474bc 100644 --- a/inc/ws/DAO/class.ws.dao.book.php +++ b/inc/ws/DAO/class.ws.dao.book.php @@ -1366,14 +1366,6 @@ class wsDAOBook extends commonDAO $daoTheme = new wsDAOTheme($this->con); $theme = $daoTheme->getThemeOfBook($book_id, true); - $daoSignature = new wsDAOSignature($this->con); - $signature = $daoSignature->selectById($book->parametres->signature); - - $exportSignature = array('main' => $signature->main, - 'mainLink' => $signature->mainLink, - 'partner' => $signature->partner, - 'partnerLink' => $signature->partnerLink); - $index = ''; $textes = ''; $pageLabels = array(); @@ -1483,8 +1475,6 @@ class wsDAOBook extends commonDAO $flex->addVariable('audiodescription', $audiodescription, false, true, "JSONObject"); $flex->addVariable('pagelabels', $pageLabels, false, true, 'JSONObject'); $flex->addVariable('links', $links, false, true, 'JSONObject'); - - $flex->addVariable('signature', $exportSignature, false, true, 'JSONObject'); $flexLight->addVariable('datas', $book->parametres->toStandardObject(), false, true, 'JSONObject'); $flexLight->addVariable('id', $book_id, false, true, 'uint'); $flexLight->addVariable('cid', $book->cid, false, true, 'String');