Index: modules/search/search.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.module,v
retrieving revision 1.229
diff -u -F^function -r1.229 search.module
--- modules/search/search.module	8 Jul 2007 12:18:02 -0000	1.229
+++ modules/search/search.module	25 Jul 2007 13:43:07 -0000
@@ -1269,17 +1269,19 @@ function _search_excerpt_replace(&$text)
 function theme_search_item($item, $type) {
   $output = ' <dt class="title"><a href="'. check_url($item['link']) .'">'. check_plain($item['title']) .'</a></dt>';
   $info = array();
-  if (!empty($item['type'])) {
-    $info[] = $item['type'];
-  }
-  if (!empty($item['user'])) {
-    $info[] = $item['user'];
-  }
-  if (!empty($item['date'])) {
-    $info[] = format_date($item['date'], 'small');
-  }
-  if (isset($item['extra']) && is_array($item['extra'])) {
-    $info = array_merge($info, $item['extra']);
+  if ($type != 'node' || theme_get_setting('toggle_node_info_'. $item['node']->type)) {
+    if (!empty($item['type'])) {
+      $info[] = $item['type'];
+    }
+    if (!empty($item['user'])) {
+      $info[] = $item['user'];
+    }
+    if (!empty($item['date'])) {
+      $info[] = format_date($item['date'], 'small');
+    }
+    if (isset($item['extra']) && is_array($item['extra'])) {
+      $info = array_merge($info, $item['extra']);
+    }
   }
   $output .= ' <dd>'. (!empty($item['snippet']) ? '<p>'. $item['snippet'] .'</p>' : '') .'<p class="search-info">'. implode(' - ', $info) .'</p></dd>';
   return $output;
