cvs: pear-core /PEAR REST.php
| From: | Greg Beaver | Date: | Mon, 02 Jan 2006 18:21:34 +0000 |
| Subject: | cvs: pear-core /PEAR REST.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-37262@lists.php.net to get a copy of this message | ||
cellog Mon Jan 2 18:21:34 2006 UTC
Modified files:
/pear-core/PEAR REST.php
Log:
fully fix Bug #6106: Notices by list-upgrades (caused by time-outs ?)
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/REST.php?r1=1.17&r2=1.18&diff_format=u
Index: pear-core/PEAR/REST.php
diff -u pear-core/PEAR/REST.php:1.17 pear-core/PEAR/REST.php:1.18
--- pear-core/PEAR/REST.php:1.17 Mon Jan 2 17:51:50 2006
+++ pear-core/PEAR/REST.php Mon Jan 2 18:21:34 2006
@@ -15,7 +15,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: REST.php,v 1.17 2006/01/02 17:51:50 cellog Exp $
+ * @version CVS: $Id: REST.php,v 1.18 2006/01/02 18:21:34 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.0a1
*/
@@ -139,7 +139,7 @@
} else {
// assume XML
$parser = new PEAR_XMLParser;
- $parser->parse($file);
+ $parser->parse($content);
$content = $parser->getData();
}
$this->saveCache($url, $content, $lastmodified, false, $cacheId);