From a2abbd326b112aa12953484b66efefca670577cf Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 12 Oct 2023 08:43:58 +0200 Subject: [PATCH] TemplateController: pass auth --- library/Director/Web/Controller/TemplateController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Web/Controller/TemplateController.php b/library/Director/Web/Controller/TemplateController.php index b0f045f3..4f0898a4 100644 --- a/library/Director/Web/Controller/TemplateController.php +++ b/library/Director/Web/Controller/TemplateController.php @@ -213,7 +213,7 @@ abstract class TemplateController extends CompatController try { $this->content()->add( - TemplateUsageTable::forTemplate($template, $this->getBranch()) + TemplateUsageTable::forTemplate($template, $this->Auth(), $this->getBranch()) ); } catch (NestingError $e) { $this->content()->add(Hint::error($e->getMessage()));