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

Bug #10103 typo in HTML_CSS constructor
Submitted: 2007-02-14 16:27 UTC Modified: 2007-02-15 04:12 UTC
From: manfred dot knapp at student dot tugraz dot at Assigned: farell
Status: Closed Package: HTML_CSS (version 1.1.2)
PHP Version: 5.1.2 OS: windows xp
Roadmaps: (Not assigned)    
Subscription  


 [2007-02-14 16:27 UTC] manfred dot knapp at student dot tugraz dot at (manfred knapp)
Description: ------------ hello! i think you have a typo in your HTML_CSS constructor. handling your attribute 'oneline' changes to 'online' on the following line of code. Test script: --------------- function HTML_CSS($attributes = array(), $errorPrefs = array()) { ... if ((isset($attributes['oneline'])) && (is_bool($attributes['online']))) { $this->setSingleLineOutput($attributes['online']); } ... }

Comments

 [2007-02-15 03:13 UTC] farell (Laurent Laville)
Nice catch ! Will fix it soon into version 1.1.3 Thanks Laurent Laville
 [2007-02-15 04:12 UTC] farell (Laurent Laville)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.