pull/2487/head
Yannick Warnier 8 years ago
parent 5955bd802f
commit f30a5085da
  1. 2
      main/exercise/ReadingSpeed.php

@ -146,7 +146,7 @@ class ReadingSpeed extends UniqueAnswer
public function processText($text) public function processText($text)
{ {
//recalulate the expected words count //recalulate the expected words count
$this->expectedCount = self::$speeds[$this->level]; $this->expectedCount = $this->speeds[$this->level];
$words = str_word_count($text, 2, '0..9'); $words = str_word_count($text, 2, '0..9');
$indexes = array_keys($words); $indexes = array_keys($words);

Loading…
Cancel
Save