Skip to content

Commit

Permalink
Merge branch 'master' into PHRAS-3668-videotools-happyscribe-subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaillat authored Nov 15, 2023
2 parents cc8c1f6 + a1e7f77 commit e241145
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ public function process(array $payload)
}
if(!array_key_exists($databox_id, $worksheet_ref_by_db)) {
// Create a new worksheet with db name
$ws = new Worksheet($spreadsheet, $this->app->getApplicationBox()->get_databox($databox_id)->get_dbname());
$tab_name = substr($this->app->getApplicationBox()->get_databox($databox_id)->get_dbname(), 0, 31);
$ws = new Worksheet($spreadsheet, $tab_name);
$spreadsheet->addSheet($ws);
if(count($worksheet_ref_by_db) === 0) {
// we just added the first ws, we can delete the "default" one
Expand Down Expand Up @@ -369,6 +370,7 @@ public function process(array $payload)
]
]
];
$list['count']++;

$totalSize += $list['files']['report']["subdefs"]['report']["size"];
}
Expand Down

0 comments on commit e241145

Please sign in to comment.