From: vincent@cubedesigners.com Date: Mon, 28 Mar 2011 10:20:52 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=22ac09b2e4708d241729c6b83861f4f9369b58c8;p=cubeextranet.git --- diff --git a/inc/ws/DAO/class.ws.dao.book.php b/inc/ws/DAO/class.ws.dao.book.php index 0e064d8ec..5197d2e94 100644 --- a/inc/ws/DAO/class.ws.dao.book.php +++ b/inc/ws/DAO/class.ws.dao.book.php @@ -627,7 +627,7 @@ class wsDAOBook extends commonDAO { $flex->addVariable('extras', '' . $book->extras . '', false, true, 'XML'); $flex->addVariable('numerotation', $book->numerotation, false, true, 'String'); $flexLight->addVariable('theme', $theme->parametres->toStandardObject(), false, true, 'JSONObject'); - $flexLight->addVariable('pages', $book->pages); + $flexLight->addVariable('pages', $book->parametres->pages); $flexLight->addVariable('fwidth', round($size[0]), false, true, 'Number'); $flexLight->addVariable('fheight', round($size[1]), false, true, 'Number'); $flexLight->addVariable('pagesInDatas', $complete, false, true, 'Boolean');