summaryrefslogtreecommitdiff
path: root/app/Stats.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-08-25 09:36:32 +0100
committerGreg Roach <fisharebest@webtrees.net>2018-08-26 11:52:16 +0100
commita45f98897789fc9ff88705eb09ae5f037bf49c10 (patch)
treeb7c6a32b461875e564af796eebcad60729440ebe /app/Stats.php
parent20ac4041ff6d2c96733f4df91b821d1c039e0259 (diff)
downloadwebtrees-a45f98897789fc9ff88705eb09ae5f037bf49c10.tar.gz
webtrees-a45f98897789fc9ff88705eb09ae5f037bf49c10.tar.bz2
webtrees-a45f98897789fc9ff88705eb09ae5f037bf49c10.zip
Replace Filter::get() and Filter::post() with $request
Diffstat (limited to 'app/Stats.php')
-rw-r--r--app/Stats.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Stats.php b/app/Stats.php
index 3ca2566011..9577f35102 100644
--- a/app/Stats.php
+++ b/app/Stats.php
@@ -7036,8 +7036,7 @@ class Stats
$cfg[$v] = implode('=', $bits);
}
$block = $all_blocks[$block];
- $block_id = Filter::getInteger('block_id');
- $content = $block->getBlock($this->tree, $block_id, false, $cfg);
+ $content = $block->getBlock($this->tree, 0, false, $cfg);
return $content;
}