diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-29 16:20:26 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-29 16:20:26 -0700 |
commit | 3727bea29acb79f66c15b155133ef3bb98d93d49 (patch) | |
tree | d3298c37cf7d286b25d85fe98f45a977fb9be2ec /Zotlabs/Module | |
parent | fcd7dc87447eee14277958a3b56080310ab6f352 (diff) | |
download | volse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.tar.gz volse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.tar.bz2 volse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.zip |
issue #538 continued
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']); |