From: <var...@us...> - 2012-11-30 15:31:59
|
Revision: 8579 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8579&view=rev Author: vargenau Date: 2012-11-30 15:31:50 +0000 (Fri, 30 Nov 2012) Log Message: ----------- Avoid warning Modified Paths: -------------- trunk/lib/plugin/SearchHighlight.php Modified: trunk/lib/plugin/SearchHighlight.php =================================================================== --- trunk/lib/plugin/SearchHighlight.php 2012-11-30 15:16:08 UTC (rev 8578) +++ trunk/lib/plugin/SearchHighlight.php 2012-11-30 15:31:50 UTC (rev 8579) @@ -62,8 +62,9 @@ if (empty($args['s']) and isset($request->_searchhighlight)) { $args['s'] = $request->_searchhighlight['query']; } - if (empty($args['s'])) - return ''; + if (empty($args['s'])) { + return HTML(); + } extract($args); $html = HTML(); if (!$noheader and isset($request->_searchhighlight)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |