mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +03:00
Fixed translation issue (Closes #263)
This commit is contained in:
parent
7dc9441852
commit
b83ed4b1ce
30 changed files with 207 additions and 201 deletions
|
|
@ -564,7 +564,7 @@ class Http
|
|||
}
|
||||
}
|
||||
|
||||
if (0 < \count($aHttpHeaders))
|
||||
if (\is_array($aHttpHeaders) && 0 < \count($aHttpHeaders))
|
||||
{
|
||||
$aOptions[CURLOPT_HTTPHEADER] = $aHttpHeaders;
|
||||
}
|
||||
|
|
@ -572,6 +572,10 @@ class Http
|
|||
if ($oLogger)
|
||||
{
|
||||
$oLogger->Write('cUrl: URL: '.$sUrl);
|
||||
if (isset($aOptions[CURLOPT_HTTPHEADER]) && \is_array($aOptions[CURLOPT_HTTPHEADER]) && 0 < \count($aOptions[CURLOPT_HTTPHEADER]))
|
||||
{
|
||||
$oLogger->Write('cUrl: Headers: '.\print_r($aOptions[CURLOPT_HTTPHEADER], true));
|
||||
}
|
||||
}
|
||||
|
||||
\MailSo\Base\Http::DetectAndHackFollowLocationUrl($sUrl, $aOptions, $oLogger);
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ class Folder
|
|||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function IsExisten()
|
||||
public function IsExists()
|
||||
{
|
||||
return $this->bExisten;
|
||||
}
|
||||
|
|
@ -239,7 +239,7 @@ class Folder
|
|||
*/
|
||||
public function IsSelectable()
|
||||
{
|
||||
return $this->IsExisten() && $this->oImapFolder->IsSelectable();
|
||||
return $this->IsExists() && $this->oImapFolder->IsSelectable();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -7513,7 +7513,7 @@ class Actions
|
|||
'Delimiter' => (string) $mResponse->Delimiter(),
|
||||
'HasVisibleSubFolders' => $mResponse->HasVisibleSubFolders(),
|
||||
'IsSubscribed' => $mResponse->IsSubscribed(),
|
||||
'IsExisten' => $mResponse->IsExisten(),
|
||||
'IsExists' => $mResponse->IsExists(),
|
||||
'IsSelectable' => $mResponse->IsSelectable(),
|
||||
'Flags' => $mResponse->FlagsLowerCase(),
|
||||
'Extended' => $aExtended,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue