From: vincent@cubedesigners.com Date: Fri, 25 Feb 2011 14:55:48 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f343955eaf9461a5e80689721813b5bf49ec7206;p=cubeextranet.git --- diff --git a/inc/ws/Controlleur/class.ws.conversion.session.php b/inc/ws/Controlleur/class.ws.conversion.session.php index 03cf5085f..5ffc58668 100644 --- a/inc/ws/Controlleur/class.ws.conversion.session.php +++ b/inc/ws/Controlleur/class.ws.conversion.session.php @@ -67,7 +67,7 @@ class wsConversionSession { return; } $this->threads = array(); - for ($i = 0;$i <= $this->nb_threads;$i++) { + for ($i = 0;$i < $this->nb_threads;$i++) { $this->threads[] = new cubeThread(); } } @@ -82,7 +82,7 @@ class wsConversionSession { $this->initDocuments(); $this->serialize(); $dao = new wsDAODocument($core->con); - $daobook = new wsDAOBook($core->con); + $daoBook = new wsDAOBook($core->con); foreach($this->documents as $doc) { $this->currentDoc = $doc; @@ -130,7 +130,7 @@ class wsConversionSession { if (!$this->reload) { // On n'ajoute les fichiers à la fin du fluidbook que si l'on // n'est pas en train de recharger le fluidbook - $daobook->appendDocument($this->bookId, $doc->document_id); + $daoBook->appendDocument($this->bookId, $doc->document_id); } $this->processedDoc++; }