Skip to content

Commit f92e523

Browse files
authored
Update Excel.php
1 parent e2f83c8 commit f92e523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/Excel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function toArray(array $row, $replaceFlag = ['*'], $targetFlag = '
8989
$num = 0;
9090
foreach ($row as $key => $value) {
9191
$rowKey = str_replace($replaceFlag, $targetFlag, $key);
92-
if (!empty($rowKey)) {
92+
if (empty($rowKey)) {
9393
$rowKey = trim($rowKey);
9494
$rowKey = $rowKey ?: $num;
9595
}

0 commit comments

Comments
 (0)