fix visitor photo uploads

This commit is contained in:
redmatrix 2016-01-21 19:26:04 -08:00
parent 7d7ef5ac4e
commit e52f64e3d2

View File

@ -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);