From: vincent@cubedesigners.com Date: Tue, 23 Nov 2010 15:31:35 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4bf89588ba21da70292069cbcd29f59ce064bdb9;p=cubeextranet.git --- diff --git a/inc/ws/DAO/class.ws.dao.book.php b/inc/ws/DAO/class.ws.dao.book.php index 3491178ea..bd87e5dd4 100644 --- a/inc/ws/DAO/class.ws.dao.book.php +++ b/inc/ws/DAO/class.ws.dao.book.php @@ -478,6 +478,7 @@ class wsDAOBook extends extranetDAO { $flexLight = new cubeFlexCompiler('FluidbookDatasLight', ROOT . '/books/datasCompiler/' . $book_id, 'flash.display.Sprite', explode(';', AS3_SOURCES), MXMLC_PATH); $flex->addVariable('links', $book->links); $flexLight->addVariable('datas', $book->parametres->toStandardObject()); + $flexLight->addVariable('id', $book_id, false, true, 'uint'); $flex->addVariable('traductions', wsLang::getTraductionWithId($book->traductions)); $flex->addVariable('chapters', $book->chapters); $flex->addVariable('extras', '' . $book->extras . '', false, true, 'XML');