summaryrefslogtreecommitdiff
path: root/app/Report/ReportParserGenerate.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-11-03 14:57:10 +0000
committerGreg Roach <fisharebest@gmail.com>2017-11-03 14:57:10 +0000
commit8d68cabe4cf02d6d8507faf4f53889852be0b6aa (patch)
treea80d1d9c85554d7184ec55549037bfeb3602956a /app/Report/ReportParserGenerate.php
parent242e42ea003002c5d393828f361ed0e2fb4ae2e9 (diff)
downloadwebtrees-8d68cabe4cf02d6d8507faf4f53889852be0b6aa.tar.gz
webtrees-8d68cabe4cf02d6d8507faf4f53889852be0b6aa.tar.bz2
webtrees-8d68cabe4cf02d6d8507faf4f53889852be0b6aa.zip
Code style
Diffstat (limited to 'app/Report/ReportParserGenerate.php')
-rw-r--r--app/Report/ReportParserGenerate.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/Report/ReportParserGenerate.php b/app/Report/ReportParserGenerate.php
index 56a62d12cc..ba97e8e06a 100644
--- a/app/Report/ReportParserGenerate.php
+++ b/app/Report/ReportParserGenerate.php
@@ -1216,7 +1216,6 @@ class ReportParserGenerate extends ReportParserBase {
// Check if there is anything to repeat
if (count($this->repeats) > 0) {
-
$line = xml_get_current_line_number($this->parser) - 1;
$lineoffset = 0;
foreach ($this->repeats_stack as $rep) {
@@ -1392,7 +1391,6 @@ class ReportParserGenerate extends ReportParserBase {
} elseif ($id === 'generation') {
$value = '"' . $this->generation . '"';
} else {
-
$temp = explode(' ', trim($this->gedrec));
$level = $temp[0];
if ($level == 0) {
@@ -2004,7 +2002,6 @@ class ReportParserGenerate extends ReportParserBase {
}
}
unset($attrs[$attr]); // This filter has been fully processed
-
} elseif (preg_match('/^(?:\w+):PLAC CONTAINS (.+)$/', $value, $match)) {
$sql_join .= " JOIN `##places` AS {$attr}a ON ({$attr}a.p_file=f_file)";
$sql_join .= " JOIN `##placelinks` AS {$attr}b ON ({$attr}a.p_file={$attr}b.pl_file AND {$attr}b.pl_p_id={$attr}a.p_id AND {$attr}b.pl_gid=f_id)";