Explorar o código

suppress warning

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21315 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas %!s(int64=16) %!d(string=hai) anos
pai
achega
3769e64dab
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      library/Zend/Service/WindowsAzure/Storage.php

+ 3 - 1
library/Zend/Service/WindowsAzure/Storage.php

@@ -262,7 +262,9 @@ class Zend_Service_WindowsAzure_Storage
 	    
 	    if ($this->_useProxy) {
 	    	$credentials = explode(':', $this->_proxyCredentials);
-	    	
+	    	if(!isset($credentials[1])) {
+	    	    $credentials[1] = '';
+	    	}
 	    	$this->_httpClientChannel->setConfig(array(
 				'proxy_host' => $this->_proxyUrl,
 	    		'proxy_port' => $this->_proxyPort,