aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-21 19:26:04 -0800
committerredmatrix <git@macgirvin.com>2016-01-21 19:26:04 -0800
commite52f64e3d2c646f6c6ed1f4710db707d23b279bf (patch)
tree437e37ebae7b07cb11672c3b3ac6d6543059d541 /mod
parent7d7ef5ac4eebb1f59a8a70ef018fa8af579467e2 (diff)
downloadvolse-hubzilla-e52f64e3d2c646f6c6ed1f4710db707d23b279bf.tar.gz
volse-hubzilla-e52f64e3d2c646f6c6ed1f4710db707d23b279bf.tar.bz2
volse-hubzilla-e52f64e3d2c646f6c6ed1f4710db707d23b279bf.zip
fix visitor photo uploads
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index b0d9bc631..f1b7aceed 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -463,7 +463,7 @@ function photos_post(&$a) {
$_REQUEST['group_deny'] = expand_acl($channel['channel_deny_gid']);
}
- $r = attach_store($a->channel,get_observer_hash(), '', $_REQUEST);
+ $r = attach_store($channel,get_observer_hash(), '', $_REQUEST);
if(! $r['success']) {
notice($r['message'] . EOL);