|
|
@@ -23,6 +23,5 @@ $sth->setFetchMode(PDO::FETCH_ASSOC);
|
|
|
|
|
|
$result = $sth->fetchAll();
|
|
|
if (count($result) > 0) {
|
|
|
- $json = json_encode($result, JSON_UNESCAPED_UNICODE);
|
|
|
- echo "{\"items\":" . $json . "}";
|
|
|
+ echo json_encode($result, JSON_UNESCAPED_UNICODE);
|
|
|
}
|