DirectorObjectForm: show inherited integers

fixes #812
This commit is contained in:
Thomas Gelf 2017-09-12 15:29:39 +02:00
parent 53242894a8
commit bc8af635e8
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ abstract class DirectorObjectForm extends DirectorForm
}
$el->setMultiOptions($multi);
} else {
if (is_string($inherited)) {
if (is_string($inherited) || is_int($inherited)) {
$el->setAttrib('placeholder', $inherited . sprintf($txtInherited, $inheritedFrom));
}
}