Skip to content

Commit

Permalink
MMA-9628 Fix merge of whm_api listaccts responses (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbistriceanu authored Dec 3, 2024
1 parent 0996fc0 commit a008374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/SpamFilter/PanelSupport/Cpanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ private function listaccts($params = array())
$this->_logger->debug("Search for owner '{$searchby}' account data.");
$resellerResponse = $this->_api->whm_api('listaccts', array('search' => 'user', 'searchby' => $searchby));
$resellerArr = $resellerResponse->getResponse('array');
$arr['acct'][] = $resellerArr['acct'][0];
$arr['acct'] = array_merge($arr['acct'], $resellerArr['acct']);
}

}
Expand Down

0 comments on commit a008374

Please sign in to comment.