svn: /pear/pear-core/tags/PEAR-1.9.3/PEAR/ REST.php

[email protected] (Helgi Þormar Þorbjörnsson) Sun, 06 Mar 2011 22:59:40 +0000
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
dufuz                                    Sun, 06 Mar 2011 22:59:40 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=308984

Log:
Fixed Bug: #18340 [doconnor]; Backported from trunk

Bug: http://pear.php.net/bugs/18340 (unknown) 
      
Changed paths:
    U   pear/pear-core/tags/PEAR-1.9.3/PEAR/REST.php

Modified: pear/pear-core/tags/PEAR-1.9.3/PEAR/REST.php
===================================================================
--- pear/pear-core/tags/PEAR-1.9.3/PEAR/REST.php	2011-03-06 22:47:43 UTC (rev 308983)
+++ pear/pear-core/tags/PEAR-1.9.3/PEAR/REST.php	2011-03-06 22:59:40 UTC (rev 308984)
@@ -102,7 +102,7 @@
                 // reset the age of the cache if the server says it was unmodified
                 $result = $this->saveCache($url, $ret, null, true, $cacheId);
                 if (PEAR::isError($result)) {
-                    return PEAR::raiseErro($result->getMessage());
+                    return PEAR::raiseError($result->getMessage());
                 }
             }

@@ -122,7 +122,7 @@
         if ($forcestring) {
             $result = $this->saveCache($url, $content, $lastmodified, false, $cacheId);
             if (PEAR::isError($result)) {
-                return PEAR::raiseErro($result->getMessage());
+                return PEAR::raiseError($result->getMessage());
             }

             return $content;
@@ -162,7 +162,7 @@

         $result = $this->saveCache($url, $content, $lastmodified, false, $cacheId);
         if (PEAR::isError($result)) {
-            return PEAR::raiseErro($result->getMessage());
+            return PEAR::raiseError($result->getMessage());
         }

         return $content;
@@ -464,4 +464,4 @@

         return $data;
     }
-}
\ No newline at end of file
+}