mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Fix possibly undefined variables
This commit is contained in:
parent
f8c782380f
commit
49c9b6f9ff
5 changed files with 30 additions and 23 deletions
|
@ -40,6 +40,7 @@ class TagCloud
|
|||
$contact = DBA::selectFirst('contact', ['url'], ['uid' => $uid, 'self' => true]);
|
||||
$url = System::removedBaseUrl($contact['url']);
|
||||
|
||||
$tags = [];
|
||||
foreach ($r as $rr) {
|
||||
$tag['level'] = $rr[2];
|
||||
$tag['url'] = $url . '?tag=' . urlencode($rr[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue