cvs: pear /HTML_CSS CSS.php
| From: | Laurent Laville | Date: | Mon, 01 Jan 2007 15:18:37 +0000 |
| Subject: | cvs: pear /HTML_CSS CSS.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-43909@lists.php.net to get a copy of this message | ||
farell Mon Jan 1 15:18:37 2007 UTC
Modified files:
/pear/HTML_CSS CSS.php
Log:
fix bug related to usage of isError() in cascade
http://cvs.php.net/viewvc.cgi/pear/HTML_CSS/CSS.php?r1=1.55&r2=1.56&diff_format=u
Index: pear/HTML_CSS/CSS.php
diff -u pear/HTML_CSS/CSS.php:1.55 pear/HTML_CSS/CSS.php:1.56
--- pear/HTML_CSS/CSS.php:1.55 Mon Jan 1 14:10:38 2007
+++ pear/HTML_CSS/CSS.php Mon Jan 1 15:18:37 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.55 2007/01/01 14:10:38 farell Exp $
+ * @version CVS: $Id: CSS.php,v 1.56 2007/01/01 15:18:37 farell Exp $
* @link http://pear.php.net/package/HTML_CSS
*/
@@ -1265,7 +1265,7 @@
} else {
$res = $this->parseString($style, $duplicates);
}
- if ($this->isError()) {
+ if (!is_bool($this->_lastError)) {
return $res;
}
}