unordered collection it is

This commit is contained in:
Mike Macgirvin 2024-06-07 21:47:06 +10:00
parent 8865fb83a1
commit f0d9b42eee

View file

@ -438,7 +438,7 @@ function photo_upload($channel, $observer, $args)
}
$target = [
'type' => 'orderedCollection',
'type' => 'Collection',
'name' => ((strlen($album)) ? $album : '/'),
'id' => z_root() . '/album/' . $channel['channel_address'] . ((isset($args['folder'])) ? '/' . $args['folder'] : EMPTY_STR),
'attributedTo' => z_root() . '/channel/' . $channel['channel_address'],