fix unable to crop profile pic on postgres
This commit is contained in:
parent
cd3284d081
commit
0df0fb4b46
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user