Project

General

Profile

« Previous | Next » 

Revision 854

Added by thorn over 16 years ago

fixed an issues related to search, changed one SQL inner join (to use USING instead of WHERE, added $database = new Database(); in front of output-filter

View differences:

search.php
525 525
	if($cfg_enable_old_search) { // this is the old (wb <= 2.6.7) search-function
526 526
		$search_path_SQL = str_replace(' link ', ' '.TABLE_PREFIX.'pages.link ', $search_path_SQL);
527 527
		foreach($sorted_modules AS $module) {
528
			if(isset($seen_pages[$module['value']]) && count($seen_pages[$module['value']])>0) // skip modules handled by new search-func
529
				continue;
528 530
			$query_start = '';
529 531
			$query_body = '';
530 532
			$query_end = '';

Also available in: Unified diff