mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10:11 +00:00
Oh no, even more notices ... (#5697)
This commit is contained in:
parent
46294d27ee
commit
c7f8f190b9
2 changed files with 3 additions and 2 deletions
|
@ -367,11 +367,12 @@ function videos_content(App $a)
|
|||
foreach ($r as $rr) {
|
||||
$alt_e = $rr['filename'];
|
||||
/// @todo The album isn't part of the above query. This seems to be some unfinished code that needs to be reworked completely.
|
||||
$rr['album'] = '';
|
||||
$name_e = $rr['album'];
|
||||
|
||||
$videos[] = [
|
||||
'id' => $rr['id'],
|
||||
'link' => System::baseUrl() . '/videos/' . $a->data['user']['nickname'] . '/video/' . $rr['resource-id'],
|
||||
'link' => System::baseUrl() . '/videos/' . $a->data['user']['nickname'] . '/video/' . $rr['hash'],
|
||||
'title' => L10n::t('View Video'),
|
||||
'src' => System::baseUrl() . '/attach/' . $rr['id'] . '?attachment=0',
|
||||
'alt' => $alt_e,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue