Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Popular -- off by '1'

Quote Reply
Popular -- off by '1'
The popular "what's cool" is being built with an off-by-one error.

$LINKS{build_pop_cutoff} = 10;

gives 11 results,

$LINKS{build_pop_cutoff} = 9;

gives 10 results...

Couldn't find the place in the scripts to do the '-1' thing.

Subject Author Views Date
Post Popular -- off by '1' pugdog 2184 Jul 14, 1999, 7:55 PM