pdf display issue

This commit is contained in:
Mike Macgirvin 2023-08-18 07:08:13 +10:00
parent 0cfc693450
commit c920b0dfad

View file

@ -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,