mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
"id" is not needed as a parameter
This commit is contained in:
parent
a4b5536d17
commit
ce7f192f35
6 changed files with 6 additions and 14 deletions
|
@ -89,11 +89,9 @@ function suggest_content(App $a)
|
|||
]);
|
||||
}
|
||||
|
||||
$id = 0;
|
||||
$entries = [];
|
||||
|
||||
foreach ($contacts as $contact) {
|
||||
$entries[] = ModuleContact::getContactTemplateVars($contact, ++$id);
|
||||
$entries[] = ModuleContact::getContactTemplateVars($contact);
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('viewcontact_template.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue