Changed "Contact::select" to "Contact::selectToArray"
This commit is contained in:
@@ -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, [
|
||||
|
||||
Reference in New Issue
Block a user