aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-12-06 11:15:53 +0000
committerMario <mario@mariovavti.com>2022-12-06 11:15:53 +0000
commit6952c5a3f5b2eb975b530aad48f3bbd57bcc1451 (patch)
tree7173880aab1429f8533c22aae501f1252d4f7e9a /include/photos.php
parent0184d2c292b2ee4d904cb00cc48110b4a79376dd (diff)
downloadvolse-hubzilla-6952c5a3f5b2eb975b530aad48f3bbd57bcc1451.tar.gz
volse-hubzilla-6952c5a3f5b2eb975b530aad48f3bbd57bcc1451.tar.bz2
volse-hubzilla-6952c5a3f5b2eb975b530aad48f3bbd57bcc1451.zip
$visitor is a string
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php4
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 = [