Skip to content

Commit

Permalink
Quick bugfix on isValid status
Browse files Browse the repository at this point in the history
  • Loading branch information
gig3m committed Apr 17, 2013
1 parent e2fc45a commit 199a36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vots.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function getJSON()

public function isValid()
{
if (self::$decoded['ERROR_DESC'])
if (self::$decoded['Status'] == "failure")
{
return FALSE;
}
Expand Down

0 comments on commit 199a36a

Please sign in to comment.