Index: /Users/simon/Projects/StephenFry/site/forum/bb-templates/kakumei/search.php
===================================================================
--- /Users/simon/Projects/StephenFry/site/forum/bb-templates/kakumei/search.php	(revision 2283)
+++ /Users/simon/Projects/StephenFry/site/forum/bb-templates/kakumei/search.php	(working copy)
@@ -26,9 +26,9 @@
 <div id="results-relevant" class="search-results">
 	<h4><?php _e('Relevant posts')?></h4>
 	<ol>
-<?php foreach ( $relevant as $bb_post ) : ?>
+<?php foreach ( $relevant as $bb_topic ) : ?>
 		<li<?php alt_class( 'relevant' ); ?>>
-			<a href="<?php post_link(); ?>"><?php topic_title($bb_post->topic_id); ?></a>
+			<a href="<?php post_link(); ?>"><?php topic_title($bb_topic->topic_id); ?></a>
 			<span class="freshness"><?php printf( __('Posted %s'), bb_datetime_format_i18n( bb_get_post_time( array( 'format' => 'timestamp' ) ) ) ); ?></span>
 			<p><?php post_text(); ?></p>
 		</li>

