mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
Projektzeitenexport ohne Projekte im Zeitraum zeigt nun eine
entsprechende Fehlermeldung statt PHP Error
This commit is contained in:
@@ -559,9 +559,11 @@ $totalworktimewidth = 13;
|
||||
$worktimewidth = 14;
|
||||
$timecolumnswidth = 2 * $daywidth + $totalworktimewidth + $worktimewidth;
|
||||
|
||||
if ($nrProjects < 1)//no projekts - merge all cells and write notice
|
||||
if ($nrProjects < 1) //no projekts - write notice
|
||||
{
|
||||
$projektnames[] = "Keine Projekte vorhanden";
|
||||
$worksheet =& $workbook->addWorksheet('Tabelle');
|
||||
$worksheet->setInputEncoding('utf-8');
|
||||
$worksheet->write(0,0,'Für diesen Zeitraum sind keine Projekte zugeordnet');
|
||||
}
|
||||
|
||||
foreach ($projektnames as $projektname)
|
||||
|
||||
Reference in New Issue
Block a user