cvs: pear /HTML_CSS CSS.php

From: Date: Thu, 15 Feb 2007 09:08:44 +0000
Subject: cvs: pear /HTML_CSS CSS.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-44667@lists.php.net to get a copy of this message
farell Thu Feb 15 09:08:44 2007 UTC Modified files: /pear/HTML_CSS CSS.php Log: - fix bug #10103 : typo error on "oneline" attribute - prevent error on "tab" attribute data type - more phpdoc tag http://cvs.php.net/viewvc.cgi/pear/HTML_CSS/CSS.php?r1=1.57&r2=1.58&diff_format=u Index: pear/HTML_CSS/CSS.php diff -u pear/HTML_CSS/CSS.php:1.57 pear/HTML_CSS/CSS.php:1.58 --- pear/HTML_CSS/CSS.php:1.57 Wed Jan 3 16:21:41 2007 +++ pear/HTML_CSS/CSS.php Thu Feb 15 09:08:44 2007 @@ -16,7 +16,7 @@ * @author Laurent Laville <pear@laurent-laville.org> * @copyright 2003-2007 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version CVS: $Id: CSS.php,v 1.57 2007/01/03 16:21:41 farell Exp $ + * @version CVS: $Id: CSS.php,v 1.58 2007/02/15 09:08:44 farell Exp $ * @link http://pear.php.net/package/HTML_CSS */ @@ -118,6 +118,7 @@ * @var array * @since 1.0.0 * @access private + * @see setOutputGroupsFirst() */ var $_groupsFirst = true; @@ -257,7 +258,8 @@ && (is_bool($attributes['xhtml']))) { $this->setXhtmlCompliance($attributes['xhtml']); } - if (isset($attributes['tab'])) { + if (isset($attributes['tab']) + && (is_string($attributes['tab']))) { $this->setTab($attributes['tab']); } if (isset($attributes['filename'])) { @@ -268,8 +270,8 @@ $this->setCache($attributes['cache']); } if ((isset($attributes['oneline'])) - && (is_bool($attributes['online']))) { - $this->setSingleLineOutput($attributes['online']); + && (is_bool($attributes['oneline']))) { + $this->setSingleLineOutput($attributes['oneline']); } if ((isset($attributes['groupsfirst'])) && (is_bool($attributes['groupsfirst']))) {

« previous php.pear.cvs (#44667) next »