Hi. I set up my fivestar to show the active widget above the node. I don't allow anonymous votes. When an anonymous user views the page, the fivestar static widget appears below the node.

The problem is in the nodeapi view function, when it's deciding whether to give it weight -10 or +50. The switch($position) falls through the 'above'/'below' case if the user doesn't have access. Then the 'above_static' case only checks if $position is 'above_static'. This patch changes it so that it checks if $position starts with 'above', to support this fall-through case.

CommentFileSizeAuthor
position.diff707 bytesAnonymous (not verified)

Comments

quicksketch’s picture

Status: Needs review » Fixed

Thanks! I committed to both 5 and 6 branches.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.