From 6f173b83926358ee0aa63a9421e7f53d34538a11 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 20 Sep 2022 12:22:05 +0200 Subject: [PATCH] ObjectsController: pass branch to table --- library/Director/Web/Controller/ObjectsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Director/Web/Controller/ObjectsController.php b/library/Director/Web/Controller/ObjectsController.php index 67927ebd..8c10b442 100644 --- a/library/Director/Web/Controller/ObjectsController.php +++ b/library/Director/Web/Controller/ObjectsController.php @@ -367,7 +367,9 @@ abstract class ObjectsController extends ActionController ) ); - ObjectSetTable::create($type, $this->db(), $this->getAuth())->renderTo($this); + ObjectSetTable::create($type, $this->db(), $this->getAuth()) + ->setBranch($this->getBranch()) + ->renderTo($this); } /**