Sort names
This commit is contained in:
parent
840ef38779
commit
522a49a7f6
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ http_response_code(200);
|
||||||
|
|
||||||
$present = array(
|
$present = array(
|
||||||
"timestamp" => time(),
|
"timestamp" => time(),
|
||||||
"names" => $decoded
|
"names" => sort($decoded)
|
||||||
);
|
);
|
||||||
|
|
||||||
file_put_contents($present_file, json_encode($present));
|
file_put_contents($present_file, json_encode($present));
|
||||||
|
|
Loading…
Reference in a new issue