From 0bb851c5ccffae0ad1743902fac31b266d19ead1 Mon Sep 17 00:00:00 2001
From: Marco Villegas <marvil07@gmail.com>
Date: Wed, 4 Apr 2012 09:46:35 -0500
Subject: [PATCH] Issue #1512404: Fixed $reset_access variable called without
 being set on vud_widget_proxy().

---
 vud.theme.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vud.theme.inc b/vud.theme.inc
index e2ed38a..fabbc41 100644
--- a/vud.theme.inc
+++ b/vud.theme.inc
@@ -182,7 +182,7 @@ function vud_widget_proxy($variables) {
   // Define access per operation, for example when the vote up operation is
   // active this means the down operation should be allowed, as the up vote was
   // already.
-  $up_access = $down_access = FALSE;
+  $up_access = $down_access = $reset_access = FALSE;
   if (user_access('use vote up/down')) {
     $criteria = array(
       'entity_type' => $type,
-- 
1.7.9.1

