diff options
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Attach.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Getfile.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Attach.php b/Zotlabs/Module/Attach.php index de941d52c..94f46978a 100644 --- a/Zotlabs/Module/Attach.php +++ b/Zotlabs/Module/Attach.php @@ -14,7 +14,7 @@ class Attach extends \Zotlabs\Web\Controller { return; } - $r = attach_by_hash(argv(1),((argc() > 2) ? intval(argv(2)) : 0)); + $r = attach_by_hash(argv(1),get_observer_hash(),((argc() > 2) ? intval(argv(2)) : 0)); if(! $r['success']) { notice( $r['message'] . EOL); diff --git a/Zotlabs/Module/Getfile.php b/Zotlabs/Module/Getfile.php index 986a819ea..12c1d0842 100644 --- a/Zotlabs/Module/Getfile.php +++ b/Zotlabs/Module/Getfile.php @@ -63,7 +63,7 @@ class Getfile extends \Zotlabs\Web\Controller { killme(); } - $r = attach_by_hash($resource,$revision); + $r = attach_by_hash($resource,$channel['channel_hash'],$revision); if(! $r['success']) { logger('attach_by_hash failed: ' . $r['message']); |