From 8417b6854b1f32b0e292eed4dd5ee4ed2037771e Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 2 Jan 2026 17:05:58 +0100 Subject: [PATCH] PageTemplate/Fixup * fix broken external links from detail pages * amends 715c1534ebd054de12d22bdacafc1fea1a98e4c2 * closes #477 --- includes/components/response/templateresponse.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/components/response/templateresponse.class.php b/includes/components/response/templateresponse.class.php index 9062d358..a723f111 100644 --- a/includes/components/response/templateresponse.class.php +++ b/includes/components/response/templateresponse.class.php @@ -160,6 +160,8 @@ class TemplateResponse extends BaseResponse $this->fullParams = $this->pageName; if ($this->category) $this->fullParams .= '='.implode('.', $this->category); + else if (in_array(__NAMESPACE__.'\TrDetailPage', class_uses($this)) && ($id = intVal($rawParam))) + $this->fullParams .= '='.$id; // prep js+css includes $parentVars = get_class_vars(__CLASS__);