QuickForm: upgraded last night, now rule requiring a date field throws error

From: Date: Tue, 09 Aug 2005 20:50:55 +0000
Subject: QuickForm: upgraded last night, now rule requiring a date field throws error
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20341@lists.php.net to get a copy of this message
I upgraded QuickForm last night. Today, I finally narrowed the error down to a rule for requiring the date to be completed. This rule worked in the previous version. Here's the rule: $form->addRule('dateOnline', 'Please add a DATE', 'required', null, 'server'); Here's the error it throws: Notice: Array to string conversion in c:\pear\lib\HTML\QuickForm\Rule\Required.php on line 39 Did something change in the way I am supposed to write a required rule for date fields? Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.pear.general (#20341) next »