From: <var...@us...> - 2014-10-01 16:44:28
|
Revision: 9153 http://sourceforge.net/p/phpwiki/code/9153 Author: vargenau Date: 2014-10-01 16:44:17 +0000 (Wed, 01 Oct 2014) Log Message: ----------- Add braces Modified Paths: -------------- trunk/lib/plugin/FullTextSearch.php Modified: trunk/lib/plugin/FullTextSearch.php =================================================================== --- trunk/lib/plugin/FullTextSearch.php 2014-10-01 16:13:18 UTC (rev 9152) +++ trunk/lib/plugin/FullTextSearch.php 2014-10-01 16:44:17 UTC (rev 9153) @@ -76,14 +76,14 @@ // Extract arguments $args = $this->getArgs($argstr, $request); $s = $args['s']; + $hilight = $args['hilight']; $case_exact = $args['case_exact']; $regex = $args['regex']; $sortby = $args['sortby']; - $limit = $args['limit']; + $noheader = $args['noheader']; $exclude = $args['exclude']; - $hilight = $args['hilight']; $quiet = $args['quiet']; - $noheader = $args['noheader']; + $limit = $args['limit']; if (empty($s)) { return HTML(); @@ -114,7 +114,9 @@ if (!$limit or !is_int($limit)) $limit = 0; // expand all page wildcards to a list of pages which should be ignored - if ($exclude) $exclude = explodePageList($exclude); + if ($exclude) { + $exclude = explodePageList($exclude); + } while ($page = $pages->next() and (!$limit or ($count < $limit))) { $name = $page->getName(); if ($exclude and in_array($name, $exclude)) continue; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |