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
$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
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