mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: i've broken some code from issue #4
This commit is contained in:
parent
72780a885e
commit
0a2149c60d
1 changed files with 5 additions and 1 deletions
|
|
@ -545,7 +545,7 @@ class PdoAddressBook
|
||||||
|
|
||||||
$sPath = $oClient->__UrlPath__;
|
$sPath = $oClient->__UrlPath__;
|
||||||
|
|
||||||
$bGood = true;
|
$bGood = false;
|
||||||
if ('' === $sPath || '/' === $sPath || !$this->checkContactsPath($oClient, $sPath))
|
if ('' === $sPath || '/' === $sPath || !$this->checkContactsPath($oClient, $sPath))
|
||||||
{
|
{
|
||||||
$sNewPath = '';
|
$sNewPath = '';
|
||||||
|
|
@ -598,6 +598,10 @@ class PdoAddressBook
|
||||||
|
|
||||||
$bGood = $this->checkContactsPath($oClient, $sPath);
|
$bGood = $this->checkContactsPath($oClient, $sPath);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$bGood = true;
|
||||||
|
}
|
||||||
|
|
||||||
return $bGood ? $oClient : null;
|
return $bGood ? $oClient : null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue