From fbb470a9654bdf0ec51c2ff4c8634f86a2173a8c Mon Sep 17 00:00:00 2001 From: Robert Treat Date: Mon, 24 Feb 2014 14:19:46 -0500 Subject: [PATCH] fix bug where # of params exposed was incorrect. credit to Bert Thomas --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index d2c59239..e7517f12 100644 --- a/functions.php +++ b/functions.php @@ -255,7 +255,7 @@ if ($funcdata->recordCount() > 0) { // Deal with named parameters if ($data->hasNamedParams()) { - if ( isset($fndata->fields['proallarguments']) ) { + if ( isset($funcdata->fields['proallarguments']) ) { $args_arr = $data->phpArray($funcdata->fields['proallarguments']); } else { $args_arr = explode(', ', $funcdata->fields['proarguments']); -- 2.39.5