fix log create variant
This commit is contained in:
parent
076a9dcba7
commit
705b110510
|
|
@ -263,7 +263,7 @@ class ProductRepository extends WProductRepository
|
|||
|
||||
|
||||
$countQuery = "select count(*) as aggregate from ({$repository->model->toSql()}) c";
|
||||
// Log::info($repository->model->toSql());
|
||||
Log::info($repository->model->toSql());
|
||||
$count = collect(DB::select($countQuery, $repository->model->getBindings()))->pluck('aggregate')->first();
|
||||
|
||||
if ($count > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue