diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-06-03 23:31:08 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-06-03 23:39:00 +0100 |
| commit | 2836aa05d87d478edc3ef1f1983e9d37862ded10 (patch) | |
| tree | 689a455c8f8c4bc8c718361531249f142224a047 /app/Report/ReportBaseElement.php | |
| parent | 3410eb64feac2dcad6c3616b18e162ac4b5772f4 (diff) | |
| download | webtrees-2836aa05d87d478edc3ef1f1983e9d37862ded10.tar.gz webtrees-2836aa05d87d478edc3ef1f1983e9d37862ded10.tar.bz2 webtrees-2836aa05d87d478edc3ef1f1983e9d37862ded10.zip | |
Report titles not being set
Diffstat (limited to 'app/Report/ReportBaseElement.php')
| -rw-r--r-- | app/Report/ReportBaseElement.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/Report/ReportBaseElement.php b/app/Report/ReportBaseElement.php index 4b0b7838ad..a1a1fa5223 100644 --- a/app/Report/ReportBaseElement.php +++ b/app/Report/ReportBaseElement.php @@ -58,21 +58,12 @@ class ReportBaseElement { * @return int */ public function addText($t) { - global $wt_report, $reportTitle, $reportDescription; - $t = trim($t, "\r\n\t"); $t = str_replace(array("<br>", " "), array("\n", " "), $t); $t = strip_tags($t); $t = htmlspecialchars_decode($t); $this->text .= $t; - // Adding the title and description to the Document Properties - if ($reportTitle) { - $wt_report->addTitle($t); - } elseif ($reportDescription) { - $wt_report->addDescription($t); - } - return 0; } |
