From e9783c882d3dd7bb2eddd0f0a5212711edad8174 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 16 Jan 2025 09:16:59 +0100 Subject: [PATCH] first column number is 1 not 0 --- inc/inc.ClassDownloadMgr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/inc.ClassDownloadMgr.php b/inc/inc.ClassDownloadMgr.php index 78d07d8cb..39620581a 100644 --- a/inc/inc.ClassDownloadMgr.php +++ b/inc/inc.ClassDownloadMgr.php @@ -84,7 +84,7 @@ class SeedDMS_Download_Mgr { $sheet = $objPHPExcel->setActiveSheetIndex(0); $i = 1; - $col = 0; + $col = 1; foreach($this->header as $h) $sheet->setCellValueByColumnAndRow($col++, $i, $h); foreach($this->extraheader as $h) @@ -97,7 +97,7 @@ class SeedDMS_Download_Mgr { $reviewStatus = $item->getReviewStatus(); $approvalStatus = $item->getApprovalStatus(); - $col = 0; + $col = 1; $sheet->setCellValueByColumnAndRow($col++, $i, $document->getID()); $sheet->setCellValueByColumnAndRow($col++, $i, $document->getName()); $sheet->setCellValueByColumnAndRow($col++, $i, $document->getID()."-".$item->getOriginalFileName());