aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-29 16:20:26 -0700
committerredmatrix <mike@macgirvin.com>2016-09-29 16:20:26 -0700
commit3727bea29acb79f66c15b155133ef3bb98d93d49 (patch)
treed3298c37cf7d286b25d85fe98f45a977fb9be2ec /Zotlabs/Module
parentfcd7dc87447eee14277958a3b56080310ab6f352 (diff)
downloadvolse-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.php2
-rw-r--r--Zotlabs/Module/Getfile.php2
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']);