Need to change the variable name here too
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 14 Sep 2009 15:46:23 +0000 (11:46 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 14 Sep 2009 15:46:23 +0000 (11:46 -0400)
framework/Release/lib/Horde/Release.php

index 9760ada..6147989 100644 (file)
@@ -711,8 +711,8 @@ class Horde_Release
         }
 
         $url_response = Horde_Serialize::unserialize($response->getBody(), Horde_Serialize::JSON);
-        if (!is_array($response)) {
-            $response = array();
+        if (!is_array($url_response)) {
+            $url_response = array();
         }
 
         // Should be an array of URL info in response...go through our requested