From f2edca10b8d0d98c347bf8c7b51f35c61996586d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 22 Nov 2005 07:45:53 +0000 Subject: [PATCH] If set() is run more than twice, we get a duplicate in setfields[] so make sure we key it --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 030b096..7e426a1 100644 --- a/api.php +++ b/api.php @@ -174,7 +174,7 @@ class API $this->values["$field"] = ($doclean ? $this->registry->clean($value, $this->fields["$field"][F_TYPE]) : $value); - $this->setfields[] = $field; + $this->setfields["$field"] = $field; if (isset($this->fields["$field"][F_VERIFY]) AND $doverify) { -- 2.43.5