If I vote as anonimus and reload page, I see Notice:
Notice: Undefined variable: user_vote in RateWidget->getUserResults() (line 378 of /var/www/webmaster/data/www/MYSITE/sites/all/modules/rate/classes/widget.inc).

Please see screenshot.

CommentFileSizeAuthor
#3 rate-variable-1947000.patch716 bytestempo22
Notice.png36.02 KBsashken2

Comments

japerry’s picture

To be clear on anonymous voting, you've turned the permission on to allow for anonymous votes? By default, anonymous users should not be allowed to vote.

sashken2’s picture

I can vote as anonymous. But after voting, I try reload (F5) page and see Notice.
You can try it here - http://sashken.ru/node/14
click "+1"
and "Reload page" (F5)

tempo22’s picture

Issue summary: View changes
StatusFileSize
new716 bytes

I got this issues aswell, it seem a wrong variable name is used.
Provided patch should fix it.

ivnish’s picture

Status: Active » Closed (outdated)

Drupal 7 is EOL. Issue will be closed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.