From f343955eaf9461a5e80689721813b5bf49ec7206 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 25 Feb 2011 14:55:48 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.conversion.session.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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++; } -- 2.39.5