aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-31 19:26:00 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-31 19:26:00 -0700
commitf3b95f591a7ec49b6fc148913861bae2bb6aa6c7 (patch)
tree22f9f085950ac16766ed3af1f1d052d233c0660e /mod/profile_photo.php
parent8fe3daab21f9aba00f7def3553247b0cbcf5f94a (diff)
parent5cc5e0fafdbc1795781b52124a63695ce3e2d49f (diff)
downloadvolse-hubzilla-f3b95f591a7ec49b6fc148913861bae2bb6aa6c7.tar.gz
volse-hubzilla-f3b95f591a7ec49b6fc148913861bae2bb6aa6c7.tar.bz2
volse-hubzilla-f3b95f591a7ec49b6fc148913861bae2bb6aa6c7.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r--mod/profile_photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index 9fe042500..79f84c690 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -329,7 +329,7 @@ function profile_photo_content(&$a) {
return;
}
- $ph = photo_factory($r[0]['data'], $r[0]['type']);
+ $ph = photo_factory(dbunescbin($r[0]['data']), $r[0]['type']);
// go ahead as if we have just uploaded a new photo to crop
profile_photo_crop_ui_head($a, $ph);
}