Project

General

Profile

« Previous | Next » 

Revision 1442

Added by Dietmar about 13 years ago

bug fixed in class.database.php methode field_add in call field_exists
update search, pls test, (Tks to Thorn)

View differences:

search.php
20 20

  
21 21
function wysiwyg_search($func_vars) {
22 22
	extract($func_vars, EXTR_PREFIX_ALL, 'func');
23
	static $search_sql = FALSE;
24
	if(function_exists('search_make_sql_part')) {
25
		if($search_sql===FALSE)
26
			$search_sql = search_make_sql_part($func_search_url_array, $func_search_match, array('`content`'));
27
	} else {
28
		$search_sql = '1=1';
29
	}
23 30
	
24 31
	// how many lines of excerpt we want to have at most
25 32
	$max_excerpt_num = $func_default_max_excerpt;

Also available in: Unified diff