From e52f64e3d2c646f6c6ed1f4710db707d23b279bf Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 21 Jan 2016 19:26:04 -0800 Subject: fix visitor photo uploads --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3