diff options
author | Habeas Codice <habeascodice@federated.social> | 2015-05-30 19:49:32 -0700 |
---|---|---|
committer | Habeas Codice <habeascodice@federated.social> | 2015-05-30 19:49:32 -0700 |
commit | 0df0fb4b4660b1811c22a7acba35bd62e07747ea (patch) | |
tree | d0a3c93010a84d296d8b9cda463245db8f076da6 | |
parent | cd3284d081bc86d0646234b490bc0cc9da60c638 (diff) | |
download | volse-hubzilla-0df0fb4b4660b1811c22a7acba35bd62e07747ea.tar.gz volse-hubzilla-0df0fb4b4660b1811c22a7acba35bd62e07747ea.tar.bz2 volse-hubzilla-0df0fb4b4660b1811c22a7acba35bd62e07747ea.zip |
fix unable to crop profile pic on postgres
-rw-r--r-- | mod/profile_photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php index fd5ea2af2..597b5f66d 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -341,7 +341,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); } |