fixed PHP notices

This commit is contained in:
Roland Gruber 2005-11-06 10:28:14 +00:00
parent 28652b4dc0
commit dca3b6b81f
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ foreach( $attrs as $attr => $vals ) {
src="../../graphics/tree_info.png" /></a>
<?php
$schema_object = get_schema_objectclass( $val);
if ($schema_object->type == 'structural') {
if (is_object($schema_object) && $schema_object->type == 'structural') {
echo "$val <small>(<acronym>" .
_('structural') . "</acronym>)</small><br />";
?>