Revision 1786
Added by Dietmar about 12 years ago
- fixed double content
frontend.functions.php | ||
---|---|---|
101 | 101 |
* @return string |
102 | 102 |
*/ |
103 | 103 |
function search_highlight($foo='', $arr_string=array()) { |
104 |
require(WB_PATH.'/framework/functions.php'); |
|
104 |
require_once(WB_PATH.'/framework/functions.php');
|
|
105 | 105 |
static $string_ul_umlaut = FALSE; |
106 | 106 |
static $string_ul_regex = FALSE; |
107 | 107 |
if($string_ul_umlaut === FALSE || $string_ul_regex === FALSE) { |
... | ... | |
311 | 311 |
require(WB_PATH.'/modules/'.$module.'/view.php'); |
312 | 312 |
echo "\n".'</div><!-- '.$module.$section_id.' -->'."\n"; |
313 | 313 |
$content = ob_get_clean(); |
314 |
echo $content; |
|
315 | 314 |
} else { |
316 | 315 |
continue; |
317 | 316 |
} |
Also available in: Unified diff