diff options
-rw-r--r-- | include/photos.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/photos.php b/include/photos.php index de9cc6b13..6e00ffbf0 100644 --- a/include/photos.php +++ b/include/photos.php @@ -64,7 +64,7 @@ function photo_upload($channel, $observer, $args) { } $ac = $acl->get(); - +hz_syslog(print_r($ac,true)); $width = $height = 0; if ($args['getimagesize']) { @@ -405,7 +405,7 @@ function photo_upload($channel, $observer, $args) { } } - $attribution = (($visitor) ? $visitor['xchan_url'] : $channel['xchan_url']); + $attribution = (($visitor) ? $visitor : $channel['xchan_url']); //// Create item object $object = [ |