From 29abb6c6e775b281e0fe6fbfe0d31ec81c2a2427 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 10 Jul 2017 20:05:38 +0200 Subject: [PATCH] ObjectController: fix issue with Apply tabs --- library/Director/Web/Controller/ObjectController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Web/Controller/ObjectController.php b/library/Director/Web/Controller/ObjectController.php index ae951a24..b515a684 100644 --- a/library/Director/Web/Controller/ObjectController.php +++ b/library/Director/Web/Controller/ObjectController.php @@ -55,7 +55,7 @@ abstract class ObjectController extends ActionController } $type = strtolower($this->getType()); - if ($name = $this->params->get('name')) { + if ($this->params->get('name') || $this->params->get('id')) { $this->loadObject(); } $this->tabs(new ObjectTabs($type, $this->getAuth(), $this->object));