Skip to content
Snippets Groups Projects
Commit e6c72686 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

fix bad call to simple webclient auth

parent 04bef43c
2 merge requests!2337Master,!2336Stable
Pipeline #2474 passed with stage
in 20 minutes and 49 seconds
......@@ -250,7 +250,7 @@ class Class_WebService_BibNumerique_Dilicom_Hub extends Class_WebService_Abstrac
Class_AdminVar::get('DILICOM_PNB_PWD_COLLECTIVITE'));
$data = $this->httpGet($this->buildUrl($service, $params));
static::getHttpClient()->setAuth(null, null);
static::getHttpClient()->setAuth(null);
return $data;
}
......
......@@ -37,7 +37,7 @@ class Class_WebService_SimpleWebClient {
}
public function setAuth($user, $pass) {
public function setAuth($user, $pass='') {
$httpClient = Zend_Registry::get('httpClient');
$httpClient->setAuth($user, $pass);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment