From bb45284dbf89e82efbcae1cb87049bf88f83a20f Mon Sep 17 00:00:00 2001 From: Karl Burkhart Date: Fri, 1 Feb 2013 09:12:02 +0000 Subject: [PATCH] =?UTF-8?q?Ansicht=20auf=20Studienjahr=20zur=C3=BCckge?= =?UTF-8?q?=C3=A4ndert=20-=20jedoch=20mit=20jahr-1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/projektbeschreibung.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/projektbeschreibung.php b/content/projektbeschreibung.php index 9305f587a..e41d94c5f 100755 --- a/content/projektbeschreibung.php +++ b/content/projektbeschreibung.php @@ -118,7 +118,7 @@ if(mb_strstr($vorlage->mimetype, 'application/vnd.oasis.opendocument')) $year = date('Y',$timestamp); $gantt = new gantt(); - $gantSvg = $gantt->getBeschreibungGantt($_GET['projekt_kurzbz'], $year, 'kalenderjahr'); + $gantSvg = $gantt->getBeschreibungGantt($_GET['projekt_kurzbz'], $year-1, 'studienjahr'); // Bild im Temp Ordner zwischenspeichern file_put_contents($tempfolder.'/Pictures/20000001000071B00000242C6CF7933F.svg',$gantSvg);