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 21:27 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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 32 = ?

 
 [2007-02-14 21: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 08:13 UTC] farell (Laurent Laville)
Nice catch ! Will fix it soon into version 1.1.3 Thanks Laurent Laville
 [2007-02-15 09: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.