From: <var...@us...> - 2021-10-06 08:28:48
|
Revision: 10613 http://sourceforge.net/p/phpwiki/code/10613 Author: vargenau Date: 2021-10-06 08:28:47 +0000 (Wed, 06 Oct 2021) Log Message: ----------- Use local variable instead of private member Modified Paths: -------------- trunk/lib/plugin/FuzzyPages.php Modified: trunk/lib/plugin/FuzzyPages.php =================================================================== --- trunk/lib/plugin/FuzzyPages.php 2021-10-01 13:58:26 UTC (rev 10612) +++ trunk/lib/plugin/FuzzyPages.php 2021-10-06 08:28:47 UTC (rev 10613) @@ -40,7 +40,6 @@ private $searchterm; private $searchterm_metaphone; private $debug; - private $list; function getDescription() { @@ -208,10 +207,10 @@ } $this->searchterm = $s; - $this->list = array(); + $list = array(); - $this->collectSimilarPages($this->list, $dbi); - $this->sortCollectedPages($this->list); - return $this->formatTable($this->list, $dbi); + $this->collectSimilarPages($list, $dbi); + $this->sortCollectedPages($list); + return $this->formatTable($list, $dbi); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |