From dfd9f03c07e46ee781b9a3519b75317110812850 Mon Sep 17 00:00:00 2001
From: Damien McKenna <damien@mc-kenna.com>
Date: Thu, 10 Mar 2011 01:46:29 -0600
Subject: [PATCH] Issue #1058536 by Methos76, DamienMcKenna: incorrectly named variable name.

---
 nodewords.module |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nodewords.module b/nodewords.module
index 1f4f7ef..cd41537 100644
--- a/nodewords.module
+++ b/nodewords.module
@@ -777,7 +777,7 @@ function nodewords_unique_values($text, $separator = ',', $max_items = -1) {
   }
 
   if ($max_items > 0) {
-    $unique_values = array_slice($uniq_values, 0, $max_items);
+    $unique_values = array_slice($unique_values, 0, $max_items);
   }
 
   return implode($separator, $unique_values);
-- 
1.7.3.5

