mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
DirectorObjectForm: prefer sent over inherited
This commit is contained in:
parent
46b4f7b047
commit
5e2de81767
@ -608,7 +608,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||
return;
|
||||
}
|
||||
|
||||
$txtInherited = $this->translate(' (inherited from "%s")');
|
||||
$txtInherited = ' ' . $this->translate(' (inherited from "%s")');
|
||||
if ($el instanceof Zf_Select) {
|
||||
$multi = $el->getMultiOptions();
|
||||
if (is_bool($inherited)) {
|
||||
@ -950,9 +950,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||
}
|
||||
}
|
||||
|
||||
// Has Object:
|
||||
|
||||
if (!$resolved && $this->hasBeenSent()) {
|
||||
if ($this->hasBeenSent()) {
|
||||
if (!$this->valueIsEmpty($value = $this->getSentValue($name))) {
|
||||
return $value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user