Closed (fixed)
Project:
Plus 1
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Oct 2008 at 03:38 UTC
Updated:
28 Oct 2008 at 17:21 UTC
A user who doesn't have javascript and votes will have the node page refreshed, and the message 'Thank you for your vote' is displayed to him.
There is a typo in the code that causes a JSON array of values to be displayed to the user instead. This can be fixed by changing this block of code:
if ($json = 'json') {
// This print statement will return results to jQuery's request.
to:
if ($json == 'json') {
// This print statement will return results to jQuery's request.
Comments
Comment #1
Chill35 commentedThanks!
Comment #2
Chill35 commentedFixed in 6.x-2.4.
Have a great day!
Comment #3
Chill35 commentedComment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.