Project

General

Profile

« Previous | Next » 

Revision 772

Added by thorn over 16 years ago

fixed E_NOTICE-messasges in Changeset770

View differences:

search.php
43 43
require_once(WB_PATH.'/search/search_modext.php');
44 44
// search-module-extension: Get "search.php" for each module, if present
45 45
// looks in modules/module/ and modules/module_searchext/
46
$search_funcs = array();
46
$search_funcs = array();$search_funcs['__before'] = array();$search_funcs['__after'] = array();
47 47
$query = $database->query("SELECT DISTINCT directory FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND directory NOT LIKE '%_searchext'");
48 48
if($query->numRows() > 0) {
49 49
	while($module = $query->fetchRow()) {

Also available in: Unified diff