Permalink
Browse files

search older data files

  • Loading branch information...
1 parent a51d818 commit bd94077ba26d706124462bfa3cb0d9644d6431db @oyejorge oyejorge committed Nov 13, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 include/special/special_search.php
  2. BIN themes/Bootswatch_Flatly/screenshot.png
@@ -350,13 +350,14 @@ function SearchPage($title,$index){
}
$file_sections = $file_stats = array();
+ ob_start();
include($full_path);
- if( !isset($file_sections) || !is_array($file_sections) || !count($file_sections) ){
- return;
+ if( isset($file_sections) && is_array($file_sections) ){
+ echo section_content::Render($file_sections,$title,$file_stats);
}
+ $content = ob_get_clean();
- $content = section_content::Render($file_sections,$title,$file_stats);
$label = common::GetLabel($title);
$this->FindString($content, $label, $title);
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bd94077

Please sign in to comment.