From 98ffe3628d0473b8ad745eab0a49c869d1c4b306 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 10 Mar 2016 21:14:20 +0100 Subject: [PATCH] DirectorObjectForm: commands -> templates, not obj --- library/Director/Web/Form/DirectorObjectForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Director/Web/Form/DirectorObjectForm.php b/library/Director/Web/Form/DirectorObjectForm.php index 912a4417..afa3b5f6 100644 --- a/library/Director/Web/Form/DirectorObjectForm.php +++ b/library/Director/Web/Form/DirectorObjectForm.php @@ -1033,7 +1033,7 @@ print_r($object); protected function addCheckCommandElements() { - if ($this->isTemplate()) { + if (! $this->isTemplate()) { return $this; } @@ -1050,7 +1050,7 @@ print_r($object); protected function addCheckExecutionElements() { - if ($this->isTemplate()) { + if (! $this->isTemplate()) { return $this; }