@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | // Ambiguous dates - don't override calendar escape |
157 | 157 | if ($cal === '') { |
158 | 158 | if (preg_match('/^(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)$/', $m)) { |
159 | - $cal = GregorianDate::ESCAPE; |
|
159 | + $cal = GregorianDate::ESCAPE; |
|
160 | 160 | } elseif (preg_match('/^[345]\d\d\d$/', $y)) { |
161 | 161 | // Year 3000-5999 |
162 | 162 | $cal = JewishDate::ESCAPE; |
@@ -451,7 +451,7 @@ discard block |
||
451 | 451 | public function addYears(int $years, string $qualifier = ''): Date |
452 | 452 | { |
453 | 453 | $tmp = clone $this; |
454 | - $tmp->date1->year += $years; |
|
454 | + $tmp->date1->year += $years; |
|
455 | 455 | $tmp->date1->month = 0; |
456 | 456 | $tmp->date1->day = 0; |
457 | 457 | $tmp->date1->setJdFromYmd(); |
@@ -550,7 +550,7 @@ |
||
550 | 550 | $html = ''; |
551 | 551 | |
552 | 552 | foreach ($list as $id => $facts) { |
553 | - $tmp = GedcomRecord::getInstance($id, $tree); |
|
553 | + $tmp = GedcomRecord::getInstance($id, $tree); |
|
554 | 554 | $html .= $tag1 . '<a href="' . e($tmp->url()) . '">' . $tmp->fullName() . '</a> '; |
555 | 555 | $html .= '<div class="indent">' . $facts . '</div>' . $tag2; |
556 | 556 | } |