parent
bb6530e9f9
commit
09a0323ad6
|
@ -26,6 +26,7 @@ next patch release (will be 1.8.1)
|
||||||
|
|
||||||
### User Interface
|
### User Interface
|
||||||
* FIX: don't fail when showing a Host overriding multiple inherited groups (#2253)
|
* FIX: don't fail when showing a Host overriding multiple inherited groups (#2253)
|
||||||
|
* FIX: deal with inherited values which are invalid for a select box (#2288)
|
||||||
|
|
||||||
### Automation, User Interface
|
### Automation, User Interface
|
||||||
* FIX: error message wording on failing related (or parent) object ref (#2224)
|
* FIX: error message wording on failing related (or parent) object ref (#2224)
|
||||||
|
|
|
@ -629,7 +629,7 @@ abstract class DirectorObjectForm extends DirectorForm
|
||||||
if (is_bool($inherited)) {
|
if (is_bool($inherited)) {
|
||||||
$inherited = $inherited ? 'y' : 'n';
|
$inherited = $inherited ? 'y' : 'n';
|
||||||
}
|
}
|
||||||
if (array_key_exists($inherited, $multi)) {
|
if (is_scalar($inherited) && array_key_exists($inherited, $multi)) {
|
||||||
$multi[null] = $multi[$inherited] . sprintf($txtInherited, $inheritedFrom);
|
$multi[null] = $multi[$inherited] . sprintf($txtInherited, $inheritedFrom);
|
||||||
} else {
|
} else {
|
||||||
$multi[null] = $this->translate($this->translate('- inherited -'));
|
$multi[null] = $this->translate($this->translate('- inherited -'));
|
||||||
|
|
Loading…
Reference in New Issue