diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-04-30 14:19:54 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-04-30 14:19:54 +0100 |
| commit | 3506b2e5e893ff3107e131ebfaec539230d9bf29 (patch) | |
| tree | 9e0e7fc419dceb7e168929437783d29761009406 /app/Date.php | |
| parent | 31b17243c95f859420e8edbc15887726740850b3 (diff) | |
| download | webtrees-3506b2e5e893ff3107e131ebfaec539230d9bf29.tar.gz webtrees-3506b2e5e893ff3107e131ebfaec539230d9bf29.tar.bz2 webtrees-3506b2e5e893ff3107e131ebfaec539230d9bf29.zip | |
Fix #572 - FROM dates
Diffstat (limited to 'app/Date.php')
| -rw-r--r-- | app/Date.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Date.php b/app/Date.php index 00f75a50f1..bd5856dbda 100644 --- a/app/Date.php +++ b/app/Date.php @@ -80,7 +80,7 @@ class Date { $this->date1 = $this->parseDate($match[2]); $this->qual2 = $match[3]; $this->date2 = $this->parseDate($match[4]); - } elseif (preg_match('/^(TO|BEF|AFT|CAL|EST|INT|ABT) (.+)/', $date, $match)) { + } elseif (preg_match('/^(TO|FROM|BEF|AFT|CAL|EST|INT|ABT) (.+)/', $date, $match)) { $this->qual1 = $match[1]; $this->date1 = $this->parseDate($match[2]); } else { |
