--- old/kernel/content/search.php	2006-12-18 19:44:16.000000000 +0000
+++ new/kernel/content/search.php	2007-03-07 16:53:14.000000000 +0000
@@ -192,13 +192,21 @@
     $tpl->setVariable( "search_count", false );
     $tpl->setVariable( "stop_word_array", false );
 }
 // --- Compatability code end ---
+// Define the persitent variable. This allows the template to set it.
+$tpl->setVariable( 'persistent_variable', false );

 $Result = array();
 $Result['content'] =& $tpl->fetch( "design:content/search.tpl" );
 $Result['path'] = array( array( 'text' => ezi18n( 'kernel/content', 'Search' ),
                                 'url' => false ) );
+
+// Setup up content_info
+$content_info_array = array();
+$content_info_array['persistent_variable'] = $tpl->variable( 'persistent_variable' );
+$Result['content_info'] = $content_info_array;
+
 if ( !$useSearchCode )
 {
     $searchData = $tpl->variable( "search_data" );
 }
