Update Photo.php
This commit is contained in:
parent
e116b90116
commit
c26f45b7c2
@ -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.
|
* 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') {
|
if($type === 'profile') {
|
||||||
switch($res) {
|
switch($res) {
|
||||||
case 'm':
|
case 'm':
|
||||||
@ -53,7 +55,6 @@ class Photo extends \Zotlabs\Web\Controller {
|
|||||||
case 'l':
|
case 'l':
|
||||||
default:
|
default:
|
||||||
$resolution = 4;
|
$resolution = 4;
|
||||||
$default = get_default_profile_photo();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user