main book on top in comp wip
This commit is contained in:
1 parent
40d97327d4
commit
612a5444d3
18 files changed
+271
-34
No files matched your search
@@ -21,7 +21,7 @@ class Sport extends Model
|
||||
}
|
||||
} else {
|
||||
if ($limit) {
|
||||
return Sport::where('is_active', 1)->whereIn($limit, 'id')->pluck('id', $field)->toArray();
|
||||
return Sport::where('is_active', 1)->whereIn('id', $limit)->pluck($field, 'id')->toArray();
|
||||
} else {
|
||||
return Sport::where('is_active', 1)->pluck($field, 'id')->toArray();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user