summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-02-08 14:21:22 +0000
committerGreg Roach <greg@subaqua.co.uk>2021-02-08 14:21:22 +0000
commitb5c9e2c414c03c542672ad19ab2336c93c22ff1c (patch)
treefdbb3b60dfc6777c35c19a7a986bff18a4305b80 /app
parentb16bf9d4a5cf5c35ae96ea5e0c2087b1746b3d52 (diff)
downloadwebtrees-b5c9e2c414c03c542672ad19ab2336c93c22ff1c.tar.gz
webtrees-b5c9e2c414c03c542672ad19ab2336c93c22ff1c.tar.bz2
webtrees-b5c9e2c414c03c542672ad19ab2336c93c22ff1c.zip
Fix: chartNoChildrenFamilies shows negative entry for 'other'
Diffstat (limited to 'app')
-rw-r--r--app/Statistics/Google/ChartNoChildrenFamilies.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Statistics/Google/ChartNoChildrenFamilies.php b/app/Statistics/Google/ChartNoChildrenFamilies.php
index c35e390f29..2799e7aba2 100644
--- a/app/Statistics/Google/ChartNoChildrenFamilies.php
+++ b/app/Statistics/Google/ChartNoChildrenFamilies.php
@@ -118,7 +118,7 @@ class ChartNoChildrenFamilies
if ($total) {
$data[] = [
I18N::translateContext('unknown century', 'Unknown'),
- $total - $no_child_fam
+ $no_child_fam - $total,
];
}