summaryrefslogtreecommitdiff
path: root/app/Http
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-11-06 12:20:48 +0000
committerGreg Roach <greg@subaqua.co.uk>2021-11-06 12:25:08 +0000
commite2d55dcbac9c75c49a4d493052c77b9b693ff5bc (patch)
tree2c6756a79272d82af5ccaf2e9e1a88588b513444 /app/Http
parentd247596d16b029989531c134a1585643f25c4f5f (diff)
downloadwebtrees-e2d55dcbac9c75c49a4d493052c77b9b693ff5bc.tar.gz
webtrees-e2d55dcbac9c75c49a4d493052c77b9b693ff5bc.tar.bz2
webtrees-e2d55dcbac9c75c49a4d493052c77b9b693ff5bc.zip
Fix: redirect for timeline.php
Diffstat (limited to 'app/Http')
-rw-r--r--app/Http/RequestHandlers/RedirectTimeLinePhp.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Http/RequestHandlers/RedirectTimeLinePhp.php b/app/Http/RequestHandlers/RedirectTimeLinePhp.php
index 1b1b1c4b99..234e344cb7 100644
--- a/app/Http/RequestHandlers/RedirectTimeLinePhp.php
+++ b/app/Http/RequestHandlers/RedirectTimeLinePhp.php
@@ -68,9 +68,7 @@ class RedirectTimeLinePhp implements RequestHandlerInterface
if ($tree instanceof Tree) {
$individual = Registry::individualFactory()->make($pids[0] ?? '', $tree) ?? $tree->significantIndividual(Auth::user());
- $url = $this->timeline_chart_module->chartUrl($individual, [
- 'xrefs' => $pids,
- ]);
+ $url = $this->timeline_chart_module->chartUrl($individual, $pids);
return redirect($url, StatusCodeInterface::STATUS_MOVED_PERMANENTLY);
}