diff --git a/lam/templates/tree/edit.php b/lam/templates/tree/edit.php
index 49d8530e..7ac797ad 100644
--- a/lam/templates/tree/edit.php
+++ b/lam/templates/tree/edit.php
@@ -427,7 +427,7 @@ foreach( $attrs as $attr => $vals ) {
src="../../graphics/tree_info.png" />
type == 'structural') {
+ if (is_object($schema_object) && $schema_object->type == 'structural') {
echo "$val (" .
_('structural') . ")
";
?>