mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Check if array
This commit is contained in:
parent
edb1bf29eb
commit
65521c56e3
1 changed files with 3 additions and 0 deletions
|
|
@ -260,6 +260,9 @@ class NextcloudPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
);
|
||||
}
|
||||
if ('address-book' === $sName) {
|
||||
if (!\is_array($mResult)) {
|
||||
$mResult = array();
|
||||
}
|
||||
include_once __DIR__ . '/NextcloudAddressBook.php';
|
||||
$mResult = new NextcloudAddressBook();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue