diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index 173a32d9..60654910 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -11,7 +11,7 @@ class ServiceController extends ObjectController public function init() { parent::init(); - if ($this->object) { + if ($this->object && $this->object->object_type === 'apply') { $this->getTabs()->add('assign', array( 'url' => 'director/service/assign', 'urlParams' => array('name' => $this->object->object_name),