mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:10:11 +00:00
Fix possibly undefined variables
This commit is contained in:
parent
f8c782380f
commit
49c9b6f9ff
5 changed files with 30 additions and 23 deletions
|
@ -105,6 +105,8 @@ class ForumManager
|
|||
if (DBA::isResult($contacts)) {
|
||||
$id = 0;
|
||||
|
||||
$entries = [];
|
||||
|
||||
foreach ($contacts as $contact) {
|
||||
$selected = (($cid == $contact['id']) ? ' forum-selected' : '');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue