fixed utilities import..
This commit is contained in:
parent
cee54e9886
commit
fcc8d4f29a
@ -29,6 +29,8 @@ class Import
|
|||||||
$total_rows = 0;
|
$total_rows = 0;
|
||||||
if (!empty($rows[0])) {
|
if (!empty($rows[0])) {
|
||||||
$total_rows = count($rows[0]);
|
$total_rows = count($rows[0]);
|
||||||
|
} else if (!empty($sheets = $class->sheets())) {
|
||||||
|
$total_rows = count($rows[array_keys($sheets)[0]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$class->queue($file)->onQueue('imports')->chain([
|
$class->queue($file)->onQueue('imports')->chain([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user