missing observer hash
This commit is contained in:
parent
d704832ff6
commit
05444f92f9
@ -634,7 +634,7 @@ class Item extends \Zotlabs\Web\Controller {
|
|||||||
$attach_link = '';
|
$attach_link = '';
|
||||||
$hash = substr($mtch,0,strpos($mtch,','));
|
$hash = substr($mtch,0,strpos($mtch,','));
|
||||||
$rev = intval(substr($mtch,strpos($mtch,',')));
|
$rev = intval(substr($mtch,strpos($mtch,',')));
|
||||||
$r = attach_by_hash_nodata($hash,$rev);
|
$r = attach_by_hash_nodata($hash, $observer['xchan_hash'], $rev);
|
||||||
if($r['success']) {
|
if($r['success']) {
|
||||||
$attachments[] = array(
|
$attachments[] = array(
|
||||||
'href' => z_root() . '/attach/' . $r['data']['hash'],
|
'href' => z_root() . '/attach/' . $r['data']['hash'],
|
||||||
|
Reference in New Issue
Block a user