diff --git a/artemsbc.php b/artemsbc.php index f0df907..1c49235 100644 --- a/artemsbc.php +++ b/artemsbc.php @@ -98,6 +98,6 @@ function artembc_save($filename, $data) { return file_put_contents($filename, json_encode($data)); } function artembc_load($filename) { - return json_decode(file_get_contents($filename)); + return json_decode(file_get_contents($filename), true); } ?> \ No newline at end of file