From: <var...@us...> - 2014-11-09 18:10:05
|
Revision: 9294 http://sourceforge.net/p/phpwiki/code/9294 Author: vargenau Date: 2014-11-09 18:10:01 +0000 (Sun, 09 Nov 2014) Log Message: ----------- function highlight_line is static Modified Paths: -------------- trunk/lib/plugin/FullTextSearch.php Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2014-11-09 17:39:41 UTC (rev 9293) +++ trunk/lib/plugin/FullTextSearch.php 2014-11-09 18:10:01 UTC (rev 9294) @@ -151,7 +151,7 @@ return $html; } - function highlight_line($line, $hilight_re) + static function highlight_line($line, $hilight_re) { while (preg_match("/^(.*?)($hilight_re)/i", $line, $m)) { $line = substr($line, strlen($m[0])); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |