Commit 491fafbf authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(puppet): getDisplayHeaderInfos is now public

issue #5762
Showing with 1 addition and 1 deletion
+1 -1
...@@ -94,7 +94,7 @@ class puppetNode extends simplePlugin ...@@ -94,7 +94,7 @@ class puppetNode extends simplePlugin
$this->attributesAccess['environment']->setChoices($envs); $this->attributesAccess['environment']->setChoices($envs);
} }
protected function getDisplayHeaderInfos() public function getDisplayHeaderInfos()
{ {
list($disabled,$buttonText,$text) = parent::getDisplayHeaderInfos(); list($disabled,$buttonText,$text) = parent::getDisplayHeaderInfos();
if (!$this->is_account && !$disabled && empty($this->attributesAccess['environment']->getChoices())) { if (!$this->is_account && !$disabled && empty($this->attributesAccess['environment']->getChoices())) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment