aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-18 18:37:58 -0700
committerzotlabs <mike@macgirvin.com>2016-10-18 18:37:58 -0700
commit29320f8aad098d574faf151fb3653cd0ef7abdd0 (patch)
tree3ad04dd320a93ff758ae106b4588c5b19904e056 /Zotlabs/Module
parent2a59f45a3b2da30d00656729b6b008df410178ec (diff)
downloadvolse-hubzilla-29320f8aad098d574faf151fb3653cd0ef7abdd0.tar.gz
volse-hubzilla-29320f8aad098d574faf151fb3653cd0ef7abdd0.tar.bz2
volse-hubzilla-29320f8aad098d574faf151fb3653cd0ef7abdd0.zip
remove requirement that imported profile photos be in the profile photos album
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Profile_photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Profile_photo.php b/Zotlabs/Module/Profile_photo.php
index 6e5b4660b..8a12e3799 100644
--- a/Zotlabs/Module/Profile_photo.php
+++ b/Zotlabs/Module/Profile_photo.php
@@ -319,7 +319,7 @@ class Profile_photo extends \Zotlabs\Web\Controller {
// set an already loaded and cropped photo as profile photo
- if(($r[0]['album'] == t('Profile Photos')) && ($havescale)) {
+ if($havescale) {
// unset any existing profile photos
$r = q("UPDATE photo SET photo_usage = %d WHERE photo_usage = %d AND uid = %d",
intval(PHOTO_NORMAL),