From 22ac09b2e4708d241729c6b83861f4f9369b58c8 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 28 Mar 2011 10:20:52 +0000 Subject: [PATCH] --- inc/ws/DAO/class.ws.dao.book.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.5