]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 25 Feb 2011 14:55:48 +0000 (14:55 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 25 Feb 2011 14:55:48 +0000 (14:55 +0000)
inc/ws/Controlleur/class.ws.conversion.session.php

index 03cf5085f1b6181b4e96abe307669c66f7a9e4ba..5ffc586684863b47209427af35b74c3b8db46231 100644 (file)
@@ -67,7 +67,7 @@ class wsConversionSession {
                        return;\r
                }\r
                $this->threads = array();\r
-               for ($i = 0;$i <= $this->nb_threads;$i++) {\r
+               for ($i = 0;$i < $this->nb_threads;$i++) {\r
                        $this->threads[] = new cubeThread();\r
                }\r
        }\r
@@ -82,7 +82,7 @@ class wsConversionSession {
                $this->initDocuments();\r
                $this->serialize();\r
                $dao = new wsDAODocument($core->con);\r
-               $daobook = new wsDAOBook($core->con);\r
+               $daoBook = new wsDAOBook($core->con);\r
 \r
                foreach($this->documents as $doc) {\r
                        $this->currentDoc = $doc;\r
@@ -130,7 +130,7 @@ class wsConversionSession {
                        if (!$this->reload) {\r
                                // On n'ajoute les fichiers à la fin du fluidbook que si l'on\r
                                // n'est pas en train de recharger le fluidbook\r
-                               $daobook->appendDocument($this->bookId, $doc->document_id);\r
+                               $daoBook->appendDocument($this->bookId, $doc->document_id);\r
                        }\r
                        $this->processedDoc++;\r
                }\r