mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +00:00
value of extracols can be an array
This commit is contained in:
parent
c981129a4b
commit
4ac560c8d1
|
@ -170,7 +170,7 @@ class SeedDMS_Download_Mgr {
|
||||||
$col += 4;
|
$col += 4;
|
||||||
if(isset($this->extracols[$item->getID()]) && $this->extracols[$item->getID()]) {
|
if(isset($this->extracols[$item->getID()]) && $this->extracols[$item->getID()]) {
|
||||||
foreach($this->extracols[$item->getID()] as $column)
|
foreach($this->extracols[$item->getID()] as $column)
|
||||||
$sheet->setCellValueByColumnAndRow($col++, $i, $column);
|
$sheet->setCellValueByColumnAndRow($col++, $i, is_array($column) ? implode("\n", $column) : $column );
|
||||||
}
|
}
|
||||||
$i = max($l, $k);
|
$i = max($l, $k);
|
||||||
$i++;
|
$i++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user