|
@@ -93,7 +93,7 @@ final class Admin extends Access {
|
|
Validator::required(isset($_POST['title']), __METHOD__);
|
|
Validator::required(isset($_POST['title']), __METHOD__);
|
|
|
|
|
|
$album = new Album(null);
|
|
$album = new Album(null);
|
|
- Response::json($album->add($_POST['title']));
|
|
|
|
|
|
+ Response::json($album->add($_POST['title']), JSON_NUMERIC_CHECK);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|