From dca3b6b81f618ca642f12a9414b4729804f9141d Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 6 Nov 2005 10:28:14 +0000 Subject: [PATCH] fixed PHP notices --- lam/templates/tree/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') . ")
"; ?>