Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.2.13

Bug #403 Mistype in HTML_QuickForm_Rule_Callback::getValidationScript ()
Submitted: 2003-12-10 22:30 UTC Modified: 2003-12-11 03:09 UTC
From: iceq at male dot ru Assigned: avb
Status: Closed Package: HTML_QuickForm
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2003-12-10 22:30 UTC] iceq at male dot ru
Description: ------------ File: QuickForm/Rule/Callback.php Method: HTML_QuickForm_Rule_Callback::getValidationScript () Lines: 103, 106 Instead of: $jsVar you probably had in mind: "{jsVar}" Since $jsVar has never been defined in the method the result javascript is generated without any parameter for a client-side callback validation function. With "{jsVar}" it does fine.

Comments

 [2003-12-11 03:09 UTC] avb
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.