Merge pull request #7435 from annando/select-to-array

Added "selectToArray" functions in DBA and Item
This commit is contained in:
Philipp 2019-07-27 19:45:32 +02:00 committed by GitHub
commit b5a9a1f1d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 78 additions and 21 deletions

View file

@ -53,7 +53,7 @@ class Contact extends BaseAdminModule
$pager = new Pager($a->query_string, 30);
$contacts = Model\Contact::select([], $condition, ['limit' => [$pager->getStart(), $pager->getItemsPerPage()]]);
$contacts = Model\Contact::selectToArray([], $condition, ['limit' => [$pager->getStart(), $pager->getItemsPerPage()]]);
$t = Renderer::getMarkupTemplate('admin/blocklist/contact.tpl');
$o = Renderer::replaceMacros($t, [