Procházet zdrojové kódy

suppress warning

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21315 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas před 16 roky
rodič
revize
3769e64dab
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  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) {
 	    if ($this->_useProxy) {
 	    	$credentials = explode(':', $this->_proxyCredentials);
 	    	$credentials = explode(':', $this->_proxyCredentials);
-	    	
+	    	if(!isset($credentials[1])) {
+	    	    $credentials[1] = '';
+	    	}
 	    	$this->_httpClientChannel->setConfig(array(
 	    	$this->_httpClientChannel->setConfig(array(
 				'proxy_host' => $this->_proxyUrl,
 				'proxy_host' => $this->_proxyUrl,
 	    		'proxy_port' => $this->_proxyPort,
 	    		'proxy_port' => $this->_proxyPort,