cvs: pear /File_XSPF/File XSPF.php
| From: | David Grant | Date: | Mon, 06 Feb 2006 13:20:53 +0000 |
| Subject: | cvs: pear /File_XSPF/File XSPF.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38020@lists.php.net to get a copy of this message | ||
djg Mon Feb 6 13:20:53 2006 UTC
Modified files:
/pear/File_XSPF/File XSPF.php
Log:
Fixed Bug #6696 (Critical error with parsing an xspf playlist in string format)
http://cvs.php.net/viewcvs.cgi/pear/File_XSPF/File/XSPF.php?r1=1.4&r2=1.5&diff_format=u
Index: pear/File_XSPF/File/XSPF.php
diff -u pear/File_XSPF/File/XSPF.php:1.4 pear/File_XSPF/File/XSPF.php:1.5
--- pear/File_XSPF/File/XSPF.php:1.4 Wed Feb 1 13:52:20 2006
+++ pear/File_XSPF/File/XSPF.php Mon Feb 6 13:20:53 2006
@@ -27,7 +27,7 @@
* @license http://www.gnu.org/copyleft/lesser.html GNU LGPL
* @link http://www.xspf.org/
* @package File_XSPF
- * @version CVS: $Id: XSPF.php,v 1.4 2006/02/01 13:52:20 djg Exp $
+ * @version CVS: $Id: XSPF.php,v 1.5 2006/02/06 13:20:53 djg Exp $
*/
/**
@@ -352,7 +352,7 @@
$parser =& new XML_Parser();
$handle =& new File_XSPF_Handler($this);
- $result = $parser->setInput($text);
+ $result = $parser->setInputString($text);
if (PEAR::isError($result)) {
return PEAR::raiseError($result->getMessage(), $result->getCode());
}