diff options
Diffstat (limited to 'fanchart.php')
| -rw-r--r-- | fanchart.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fanchart.php b/fanchart.php index 087bc89e54..f395c80ee9 100644 --- a/fanchart.php +++ b/fanchart.php @@ -2,7 +2,7 @@ // View for the fan chart. // // webtrees: Web based Family History software -// Copyright (C) 2014 webtrees development team. +// Copyright (C) 2015 webtrees development team. // // Derived from PhpGedView // Copyright (C) 2002 to 2010 PGV Development Team. @@ -30,7 +30,7 @@ $controller = new WT_Controller_Fanchart(); if (WT_Filter::getBool('img')) { Zend_Session::writeClose(); header('Content-Type: image/png'); - echo $controller->generateFanChart('png', $fanChart); // $fanChart comes from the theme + echo $controller->generateFanChart('png'); return; } @@ -123,6 +123,6 @@ if ($controller->error_message) { } if ($controller->root) { - echo '<div id="fan_chart">', $controller->generateFanChart('html', $fanChart), '</div>'; + echo '<div id="fan_chart">', $controller->generateFanChart('html'), '</div>'; } echo '</div>'; |
