diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-08-25 11:39:10 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-08-25 11:39:10 +0100 |
| commit | 348c22e317facc436fd89980ff43857eecd9db9a (patch) | |
| tree | 9b4b25f97400a1224900d88f1d3135e9ec97037b /library/WT/Stats.php | |
| parent | 6f7e1c3699f3e2e0eb7130fd33ca9bb45a07f4c3 (diff) | |
| download | webtrees-348c22e317facc436fd89980ff43857eecd9db9a.tar.gz webtrees-348c22e317facc436fd89980ff43857eecd9db9a.tar.bz2 webtrees-348c22e317facc436fd89980ff43857eecd9db9a.zip | |
Non-gregorian/julian dates create incorrect statistic charts
Diffstat (limited to 'library/WT/Stats.php')
| -rw-r--r-- | library/WT/Stats.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/WT/Stats.php b/library/WT/Stats.php index 212243cf0a..c7d43b8f24 100644 --- a/library/WT/Stats.php +++ b/library/WT/Stats.php @@ -1657,6 +1657,8 @@ class WT_Stats { " birth.d_fact='BIRT' AND". " death.d_fact='DEAT' AND". " birth.d_julianday1<>0 AND". + " birth.d_type IN ('@#DGREGORIAN@', '@#DJULIAN@') AND". + " death.d_type IN ('@#DGREGORIAN@', '@#DJULIAN@') AND". " death.d_julianday1>birth.d_julianday2". $years. $sex_search. |
