From: Jose Vina <jose@sv...> - 2005-04-14 14:08:08
I'm running phpwiki 1.2.7.
A bug in hit counting routine makes it return wrong results. This is the
description and solution, please fix.
Symptoms: relevant pages are left out of the top hit list.B
Bug in files: dbalib.php, dbmlib.php and maybe other similar ones.
Function: InitMostPopular($dbi, $limit)
Where it says:
if (!$removed and ($pscore = $lowest))
it should say:
if (!$removed and ($pscore == $lowest))
Change: = -> ==
Get latest updates about Open Source Projects, Conferences and News.