Commit fbb5b059 authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

diviner bug correction ??

parent c39452f3
......@@ -134,7 +134,8 @@ class diviner_game
private function selectpartie(){
$res = false;
try{
$recordingFactory = new ItemFactory($this->diviner,$this->user->langGame);
$recordingFactory = new ItemFactory($this->diviner,$this->userlang);
//$this->user->langGame); langGame n'a pas l'air d'être ce qu'on pense
$this->raisin = $recordingFactory->get_recording(ItemFactory::VALID_RECORDING_NOT_ME);
if(is_object($this->raisin)){
// construction de l'adresse de l'enregistrement à  partir du nom du fichier son
......
......@@ -112,6 +112,7 @@ class ItemFactory //a quick and dirty class…
$res = false;
break;
}
//echo "$this->query<script>console.log($this->query);</script>";
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment