Re: [Phplib-users] PHP Notice: oohforms
Brought to you by:
nhruby,
richardarcher
|
From: Frank B. <fb...@sy...> - 2004-11-05 02:15:17
|
At 06:33 PM 11/4/04, Layne Weathers wrote:
>[It appears either my mail client or SourceForge's list prog are doing
>something strange with the encoding - sorry about an random "=20" showing up
>throughout.]
I didn't get any of the "=20" stuff.
> > Thanks for prompt response, there seem to be a few more problems
> > here. Each page access generates so *many* notices its hard to know
> > I've got them all until they are fixed. I figured one out by myself:
> >
> > # diff oohforms.inc-save oohforms.inc
> > 272c272
> > < if ($el->hidden) {
> > ---
> > > if (isset($el->hidden)) {
>
>
>Actually, there are more problems with hidden - the code can't decide if it
>is a scalar or an array. I would use the following patch:
>
>272c272
>< if ($el->hidden) {
>---
> > if (is_array($el->hidden)) {
PHP Notice: Undefined property: hidden - line 272
My current form is only testing text, textarea, hidden, submit. I can test
more datatypes tomorrow.
Frank
|