storage url o'zgartirildi

This commit is contained in:
2026-04-28 18:06:13 +05:00
parent a11b9c9100
commit b9856f4bf8
3 changed files with 63 additions and 14 deletions

View File

@@ -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)) {