DirectorObjectForm: never inherit object_name
This commit is contained in:
parent
b90c93ebdc
commit
73ed4d398f
|
@ -143,7 +143,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||
$origins = $object->getOriginsProperties();
|
||||
|
||||
foreach ($props as $k => $v) {
|
||||
if (property_exists($inherited, $k)) {
|
||||
if ($k !== 'object_name' && property_exists($inherited, $k)) {
|
||||
$this->setElementValue($k, $v, $inherited->$k, $origins->$k);
|
||||
} else {
|
||||
$this->setElementValue($k, $v);
|
||||
|
|
Loading…
Reference in New Issue