front fix
This commit is contained in:
miroman-afk
2021-12-29 14:46:58 +03:00
parent f8c4060a82
commit b702888540
2 changed files with 30 additions and 30 deletions

View File

@@ -105,6 +105,7 @@ class TopDishesNewYear extends HRCCommand implements HRCCommandInterface {
'count' => $count,
'dishes' => $sorted,
'top_shift' => $shift_counter_sorted,
'in_file' => 1,
];
$handle = fopen($dirname . $filename, 'w+');
fputs($handle, json_encode($data));