Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Felamimail/Json): clients always sends $paging
Browse files Browse the repository at this point in the history
... which causes an error with PHP8
  • Loading branch information
pschuele authored and paulmhh committed Sep 8, 2021
1 parent 1591389 commit 9303977
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tine20/Felamimail/Frontend/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,11 @@ public function sendReadingConfirmation($messageId)
/**
* search accounts
*
* @param array $filter
* @param array $filter
* @param array $paging
* @return array
*/
public function searchAccounts($filter)
public function searchAccounts(array $filter, array $paging = [])
{
$accounts = $this->_search($filter, '', Felamimail_Controller_Account::getInstance(), 'Felamimail_Model_AccountFilter');
// add signatures and remove ADB list type from result set
Expand Down

0 comments on commit 9303977

Please sign in to comment.