aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-06 13:39:36 +0100
committerMax Kostikov <max@kostikov.co>2018-11-06 13:39:36 +0100
commitc26f45b7c20c870fcc77258a0c282440ec3e0b5a (patch)
treeac1d155f32d99a5f72e87e423af8dafd3e534dc5 /Zotlabs
parente116b90116b3d61548ce2bcf8949deee5feb6b98 (diff)
downloadvolse-hubzilla-c26f45b7c20c870fcc77258a0c282440ec3e0b5a.tar.gz
volse-hubzilla-c26f45b7c20c870fcc77258a0c282440ec3e0b5a.tar.bz2
volse-hubzilla-c26f45b7c20c870fcc77258a0c282440ec3e0b5a.zip
Update Photo.php
Diffstat (limited to 'Zotlabs')
-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 14def3a62..8f85bdd69 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -39,7 +39,9 @@ class Photo extends \Zotlabs\Web\Controller {
* Profile photos - Access controls on default profile photos are not honoured since they need to be exchanged with remote sites.
*
*/
-
+
+ $default = get_default_profile_photo();
+
if($type === 'profile') {
switch($res) {
case 'm':
@@ -53,7 +55,6 @@ class Photo extends \Zotlabs\Web\Controller {
case 'l':
default:
$resolution = 4;
- $default = get_default_profile_photo();
break;
}
}