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

Bug #10926 Undefined index in HTML/QuickForm/Renderer/Tableless.php:441
Submitted: 2007-05-04 13:45 UTC
From: berdir Assigned: wiesemann
Status: Closed Package: HTML_QuickForm_Renderer_Tableless (version 0.5.1)
PHP Version: 5.2.1 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-05-04 13:45 UTC] berdir (Sascha Grossenbacher)
Description: ------------ I did an upgrade from 0.5.0 to 0.5.1 and got this error message: Undefined index: username in /usr/share/php/HTML/QuickForm/Renderer/Tableless.php at line 441. The error occured only in one of my forms, the one without a header element. It is easy to fix with replacing the != '' check against a check with !empty().

Comments

 [2007-05-04 14:26 UTC] wiesemann (Mark Wiesemann)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/HTML_QuickForm_Renderer_Tableless --- I've used another fix, similar to the condition a few lines above.