Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathieu Loiseau
GameOfWords
Commits
fbb5b059
Commit
fbb5b059
authored
Jun 17, 2016
by
Mathieu Loiseau
Browse files
diviner bug correction ??
parent
c39452f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
controllers/diviner.class.php
View file @
fbb5b059
...
...
@@ -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
...
...
models/item.factory.class.php
View file @
fbb5b059
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment