Fix add_customcols params parsing
authorDavid Christensen <david@endpoint.com>
Tue, 29 Jul 2014 18:49:41 +0000 (13:49 -0500)
committerDavid Christensen <david@endpoint.com>
Tue, 29 Jul 2014 18:49:41 +0000 (13:49 -0500)
bucardo

diff --git a/bucardo b/bucardo
index e22617948c88232f396cdcce3a7821d3e7d67178..28dd42511acb92f57973fac2bb36af7c481846e3 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -3052,7 +3052,7 @@ sub add_customcols {
     usage_exit($doc_section) unless length $item_name && length $clause;
 
     ## Does this number or name exist?
-    my @candidate_goats = find_goat_by_item($item_name, @nouns);
+    my @candidate_goats = find_goat_by_item($item_name, \@nouns);
     if (! @candidate_goats) {
         print qq{Could not find a matching table for "$item_name"\n};
         exit 1;