From: <var...@us...> - 2021-10-06 08:29:44
|
Revision: 10614 http://sourceforge.net/p/phpwiki/code/10614 Author: vargenau Date: 2021-10-06 08:29:42 +0000 (Wed, 06 Oct 2021) Log Message: ----------- Add braces Modified Paths: -------------- trunk/lib/WikiDB/backend/dumb/TextSearchIter.php Modified: trunk/lib/WikiDB/backend/dumb/TextSearchIter.php =================================================================== --- trunk/lib/WikiDB/backend/dumb/TextSearchIter.php 2021-10-06 08:28:47 UTC (rev 10613) +++ trunk/lib/WikiDB/backend/dumb/TextSearchIter.php 2021-10-06 08:29:42 UTC (rev 10614) @@ -38,12 +38,17 @@ $this->stoplisted = array(); $this->_from = 0; - if (isset($options['limit'])) // extract from,count from limit + if (isset($options['limit'])) { // extract from,count from limit list($this->_from, $this->_count) = WikiDB_backend::limit($options['limit']); - else + } else { $this->_count = 0; - if (isset($options['exclude'])) $this->_exclude = $options['exclude']; - else $this->_exclude = false; + } + + if (isset($options['exclude'])) { + $this->_exclude = $options['exclude']; + } else { + $this->_exclude = false; + } } function _get_content(&$page) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |