From 2db9f1bb7fc12ba65f9edfb328d3eb99ea0b3ccb Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 30 Dec 2013 03:19:01 +0100 Subject: [PATCH] Slight change in GetGroupedValues API --- include.forms.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include.forms.php b/include.forms.php index af6ad60..bfdce86 100644 --- a/include.forms.php +++ b/include.forms.php @@ -472,12 +472,14 @@ class CPHPFormHandler extends CPHPFormValidatorPromiseBaseClass $this->validation_exceptions = array(); } - public function GetGroupedValues($keys) + public function GetGroupedValues() { /* Returns an array of associative arrays. This is used for forms that have * multiple array inputs, and where each input has a corresponding element * for another input name. */ + $keys = func_get_args(); + $sCounts = array(); foreach($keys as $key) {