DirectorObjectForm: do not show structured vars

This commit is contained in:
Thomas Gelf 2015-08-28 17:01:57 +02:00
parent 45755f7a63
commit 3d38a6fec9

View File

@ -235,6 +235,9 @@ abstract class DirectorObjectForm extends QuickForm
continue;
}
// TODO: handle structured vars
if (! is_string($value)) continue;
// Show inheritance information in case we inherited this var:
if (isset($inherited->$key)) {
$this->addCustomVar($key, $value, $inherited->$key, $origins->$key);