PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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