fix bug where # of params exposed was incorrect. credit to Bert Thomas <bthomas@broth...
authorRobert Treat <rob@xzilla.net>
Mon, 24 Feb 2014 19:19:46 +0000 (14:19 -0500)
committerRobert Treat <rob@xzilla.net>
Mon, 24 Feb 2014 19:19:46 +0000 (14:19 -0500)
functions.php

index d2c592393ef13a04fe6151c4ee8288c6469575cb..e7517f12f5520e8184068919864027598b851d26 100644 (file)
                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']);