aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photo.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-18 16:57:45 -0700
committerzotlabs <mike@macgirvin.com>2018-05-18 16:57:45 -0700
commitdae89ce91c65679003d10da113a45f3ff37a8d39 (patch)
tree2e0e3f52d26931e5cab0fb949fc940b3dc5ec9ad /Zotlabs/Module/Photo.php
parent12c571a1878348c77362a345853eb9575943ef38 (diff)
downloadvolse-hubzilla-dae89ce91c65679003d10da113a45f3ff37a8d39.tar.gz
volse-hubzilla-dae89ce91c65679003d10da113a45f3ff37a8d39.tar.bz2
volse-hubzilla-dae89ce91c65679003d10da113a45f3ff37a8d39.zip
wrong default param for pubstream_incl (this checkin also picked up a few minor and hopefully non-significant changes)
Diffstat (limited to 'Zotlabs/Module/Photo.php')
-rw-r--r--Zotlabs/Module/Photo.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index f348866d9..8efc00707 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -14,7 +14,8 @@ class Photo extends \Zotlabs\Web\Controller {
$prvcachecontrol = false;
$streaming = null;
$channel = null;
-
+ $person = 0;
+
switch(argc()) {
case 4:
$person = argv(3);
@@ -31,7 +32,7 @@ class Photo extends \Zotlabs\Web\Controller {
}
$observer_xchan = get_observer_hash();
-
+
$default = z_root() . '/' . get_default_profile_photo();
if(isset($type)) {