example -
1. I have the poll at the top of my homepage
slashboxes, I go into preferences/homepage and make
a change, for ex. the timezone and save.
2. Go back to the homepage, the poll slashbox will now
be at the bottom of the page.
This can be repeated, pushing the top slashbox to the
bottom every time the homepage pref is saved. This is
caused by the test !$slashboxes{$bid} - the first element
will be 0 so it is incorrectly seen as a new slashbox.
To fix:
in users.pl,
Change:
if (!$slashboxes{$bid}) {
$slashboxes{$bid} = 999; # put it at the end
}
to:
if (!defined $slashboxes{$bid}) {
$slashboxes{$bid} = 999; # put it at the end
}