mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
This commit is contained in:
parent
7a567681d7
commit
16f0e3b10f
@ -18,8 +18,8 @@ class CategoryCollection extends EntryCollection
|
||||
|
||||
for ($i = 0; $i <= $counter; $i++) {
|
||||
$data = CategoryModel::query()
|
||||
->where('parent_category_id', $id)
|
||||
->where('deleted_at', null)
|
||||
->where('cats_category.parent_category_id', $id)
|
||||
->where('cats_category.deleted_at', null)
|
||||
->select('cats_category.id', 'cats_category.parent_category_id')
|
||||
->first();
|
||||
if ($data != "") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user