Browse Source

Removed deprecated use of split() and replaced with explode() - fixes ZF-9578

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22033 44c647ce-9c0f-0410-b52a-842ac1e357ba
padraic 15 years ago
parent
commit
c9cc418205
1 changed files with 2 additions and 2 deletions
  1. 2 2
      library/Zend/Oauth/Client.php

+ 2 - 2
library/Zend/Oauth/Client.php

@@ -170,9 +170,9 @@ class Zend_Oauth_Client extends Zend_Http_Client
             $params = array();
             $query = $this->getUri()->getQuery();
             if ($query) {
-                $queryParts = split('&', $this->getUri()->getQuery());
+                $queryParts = explode('&', $this->getUri()->getQuery());
                 foreach ($queryParts as $queryPart) {
-                    $kvTuple = split('=', $queryPart);
+                    $kvTuple = explode('=', $queryPart);
                     $params[$kvTuple[0]] = 
                         (array_key_exists(1, $kvTuple) ? $kvTuple[1] : NULL);
                 }