diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-02-11 10:54:47 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-02-11 10:54:47 +0000 |
| commit | 327d11db1fb74093d93986759cdc75b8b490f778 (patch) | |
| tree | d976f45974905e98e1630e293d44fa2519f306a7 | |
| parent | 6114f2089bb8989dbe38063cad1e755de6183272 (diff) | |
| download | webtrees-327d11db1fb74093d93986759cdc75b8b490f778.tar.gz webtrees-327d11db1fb74093d93986759cdc75b8b490f778.tar.bz2 webtrees-327d11db1fb74093d93986759cdc75b8b490f778.zip | |
Fix scrutinizer warnings in fanchart controller
| -rw-r--r-- | app/Controller/FanchartController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/FanchartController.php b/app/Controller/FanchartController.php index 46275e6f86..234f07745a 100644 --- a/app/Controller/FanchartController.php +++ b/app/Controller/FanchartController.php @@ -408,7 +408,7 @@ class FanchartController extends ChartController { switch ($what) { case 'html': - return $html . $imagemap . '<div id="fan_chart_img"><img src="' . WT_SCRIPT_NAME . '?rootid=' . $this->root->getXref() . '&fan_style=' . $this->fan_style . '&generations=' . $this->generations . '&fan_width=' . $this->fan_width . '&img=1" width="' . $fanw . '" height="' . $fanh . '" alt="' . I18N::translate('Fan chart of %s', strip_tags($person->getFullName())) . '" usemap="#fanmap"></div>'; + return $html . $imagemap . '<div id="fan_chart_img"><img src="' . WT_SCRIPT_NAME . '?rootid=' . $this->root->getXref() . '&fan_style=' . $this->fan_style . '&generations=' . $this->generations . '&fan_width=' . $this->fan_width . '&img=1" width="' . $fanw . '" height="' . $fanh . '" alt="' . strip_tags($this->getPageTitle()) . '" usemap="#fanmap"></div>'; case 'png': ImageStringUp($image, 1, $fanw - 10, $fanh / 3, WT_BASE_URL, $color); |
