Browse Source

[ZF-10291 & ZF-10437] Zend_Gdata

missing load the file "Zend/Uri/Http".

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22972 44c647ce-9c0f-0410-b52a-842ac1e357ba
ramon 15 years ago
parent
commit
ae70421319
1 changed files with 3 additions and 2 deletions
  1. 3 2
      library/Zend/Gdata/App.php

+ 3 - 2
library/Zend/Gdata/App.php

@@ -640,12 +640,13 @@ class Zend_Gdata_App
 
         // Set the params for the new request to be performed
         $this->_httpClient->setHeaders($headers);
+        require_once 'Zend/Uri/Http.php';
         $uri = Zend_Uri_Http::fromString($url);
         preg_match("/^(.*?)(\?.*)?$/", $url, $matches);
         $this->_httpClient->setUri($matches[1]);
         $queryArray = $uri->getQueryAsArray();
-        foreach ($queryArray as $name => $value) { 
-          $this->_httpClient->setParameterGet($name, $value);
+        foreach ($queryArray as $name => $value) {
+            $this->_httpClient->setParameterGet($name, $value);
         }