From: vincent@cubedesigners.com Date: Thu, 28 Feb 2013 17:27:02 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5afabb1d089b072571779542781bc3c06b943e08;p=cubeextranet.git --- diff --git a/inc/ws/Controlleur/class.ws.services.php b/inc/ws/Controlleur/class.ws.services.php index c2f65952e..4d161f117 100644 --- a/inc/ws/Controlleur/class.ws.services.php +++ b/inc/ws/Controlleur/class.ws.services.php @@ -271,6 +271,10 @@ class wsServices extends cubeFlashGateway { $daoBook = new wsDAOBook($core->con); + if (is_int($book) || is_string($book)) { + $book = $daoBook->selectById($book); + } + if (is_null($book)) { return; }