mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:35:13 +00:00
pdf display issue
This commit is contained in:
parent
0cfc693450
commit
c920b0dfad
1 changed files with 1 additions and 1 deletions
|
@ -1525,7 +1525,7 @@ function theme_attachments($item)
|
|||
if (Channel::is_foreigner($item['author_xchan'])) {
|
||||
$url = $r['href'];
|
||||
} else {
|
||||
$url = z_root() . '/magic?f=&owa=1&hash=' . $item['author_xchan'] . '&bdest=' . bin2hex($r['href'] . ((isset($r['revision']) ? '/' . $r['revision'] : '')));
|
||||
$url = z_root() . '/magic?f=&owa=1&hash=' . $item['author_xchan'] . '&bdest=' . bin2hex($r['href'] . (($r['revision']) ? '/' . $r['revision'] : ''));
|
||||
}
|
||||
$attaches[] = [
|
||||
'label' => $label,
|
||||
|
|
Loading…
Reference in a new issue