PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_CSS » Bug #10103

typo in HTML_CSS constructor

Details

Submitted2007-02-14 21:27 UTC
Frommanfred dot knapp at student dot tugraz dot at
Assignedfarell
StatusClosed
PackageHTML_CSS
PHP Version5.1.2
OSwindows xp
Roadmaps(Not assigned)

Comments

[2007-02-14 21:27 UTC] manfred dot knapp at student dot tugraz dot at

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']);
}
...
}