Re: QuickForm - toArray() & addData()

From: Date: Thu, 13 Mar 2003 06:57:31 +0000
Subject: Re: QuickForm - toArray() & addData()
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14235@lists.php.net to get a copy of this message
Alan Richmond wrote:
Discovered that toArray() breaks if a QuickForm contains data added with addData(). toArray only expects to find element objects and addData() is an array. Locally, I've changed line 2249 from: } else { to: } elseif (is_object($element)) {
Thanks, that was a bug indeed. But currently both toArray() and addData() methods of QuickForm are completely redone for the 3.0 release, so Bertrand will have to decide whether to do another 2.x release to include this fix. :]

« previous php.pear.dev (#14235) next »