FIX_EXCEL_MERGE_LOOP
This commit is contained in:
parent
bd56e9630e
commit
094053ff41
@ -131,11 +131,11 @@ class ExcelMergeHelper {
|
|||||||
$newName = $sheetName;
|
$newName = $sheetName;
|
||||||
$counter = 1;
|
$counter = 1;
|
||||||
|
|
||||||
while (in_array($newName, $mergedSpreadsheet->getSheetNames())) {
|
// while (in_array($newName, $mergedSpreadsheet->getSheetNames())) {
|
||||||
// $newName = $sheetName . "_" . $counter++;
|
// // $newName = $sheetName . "_" . $counter++;
|
||||||
log_message('debug', "Sheet name already exists. Trying new name: {$newName}");
|
// log_message('debug', "Sheet name already exists. Trying new name: {$newName}");
|
||||||
// echo "Sheet name already exists. Trying new name: {$newName}\n";
|
// // echo "Sheet name already exists. Trying new name: {$newName}\n";
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Clone the worksheet and set the new name
|
// Clone the worksheet and set the new name
|
||||||
// $clonedSheet = clone $worksheet;
|
// $clonedSheet = clone $worksheet;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user