--- sitedoc.module.ORIGINAL	2008-05-13 16:31:49.000000000 +0200
+++ sitedoc.module		2008-05-16 12:24:36.000000000 +0200
@@ -373,7 +373,7 @@
     $output .= "</div>\n";
   }
 
-  $output .= "</div>\n";
+//  $output .= "</div>\n";
 
   // Get info from Filter and Filter_format tables.
   if ($sitedoc_settings['input_format_section']) {
@@ -2180,6 +2180,11 @@
   $rows = array();
 
   foreach ($vars as $name => $value) {
+
+    if (is_object($value)) {
+      $value = get_object_vars($value);
+    }
+
     if (is_array($value)) {
       // Use helper function to do an array.
       $show = _handle_array($value);
