Rating Changed on Edit Link
$thislink->sumofvotes = ($thislink->votes) * ($thislink->rating);
if ($_POST['rating']) $thislink->sumofvotes = ($thislink->votes) * ($thislink->rating);
This thread is closed, so you cannot post a reply.
Comments on Rating Changed on Edit Link
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I have a link that was rated 5 stars. This showed correctly until I added another file attachment, now it shows not yet rated and 0/5 BUT it states there IS 1 vote. If I click "show individual votes" it shows the vote there.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Odd, but I can reproduce this. Should be fixed shortly.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In edit.php change to . That seems to do the trick.