From 2a217f38c706bb9c80f8884c418fa06781257232 Mon Sep 17 00:00:00 2001
From: Marco Antonio Villegas Vega <marvil07@gmail.com>
Date: Mon, 4 Jan 2010 09:17:44 -0500
Subject: [PATCH] use a3 param correctly on hook_nodeapi

a3 is the teaser in op=view
---
 vud_node/vud_node.module |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/vud_node/vud_node.module b/vud_node/vud_node.module
index 2166401..7ed4ec3 100644
--- a/vud_node/vud_node.module
+++ b/vud_node/vud_node.module
@@ -92,6 +92,7 @@ function vud_node_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
         $widget_showmode = variable_get('vud_node_widget_show', 2);
         $tag = variable_get('vud_tag', 'vote');
         $widget = variable_get('vud_node_widget', 'plain');
+        $teaser = $a3;
         if ($node_type) {
           switch ($widget_showmode) {
             case 0:
-- 
1.6.5

