storage url o'zgartirildi
This commit is contained in:
@@ -152,6 +152,13 @@ class Controller extends ExController
|
||||
*/
|
||||
public function characteristics($id)
|
||||
{
|
||||
if (!ctype_digit((string) $id)) {
|
||||
return [
|
||||
'status' => false,
|
||||
'characteristics' => []
|
||||
];
|
||||
}
|
||||
|
||||
$category = Category::find($id);
|
||||
|
||||
if (empty($category)) {
|
||||
|
||||
Reference in New Issue
Block a user