Erreur de syntaxe...
This commit is contained in:
parent
977ee7618a
commit
4df3c3c963
|
@ -73,7 +73,7 @@ function main()
|
|||
$scores = setGame($user, intval($_GET['pgid']), intval($_GET['gid']), $_GET);
|
||||
// On renvoie une nouvelle partie pour garder le client toujours bien alimenté.
|
||||
echo "{\"scoreTotal\":".$scores['total'];
|
||||
echo ',"scores":['
|
||||
echo ',"scores":[';
|
||||
for (i = 0; i < $scores['nb']; i++) {
|
||||
if (i != 0) echo ',';
|
||||
echo $scores[i];
|
||||
|
|
Loading…
Reference in New Issue
Block a user