profile photo issue on postgres
This commit is contained in:
		| @@ -243,7 +243,7 @@ class Profile_photo extends \Zotlabs\Web\Controller { | ||||
| 			} | ||||
| 		} | ||||
| 	 | ||||
| 		$imagedata = (($os_storage) ? @file_get_contents($imagedata) : $imagedata); | ||||
| 		$imagedata = (($os_storage) ? @file_get_contents(dbunescbin($imagedata)) : dbunescbin($imagedata)); | ||||
| 		$ph = photo_factory($imagedata, $filetype); | ||||
| 	 | ||||
| 		if(! $ph->is_valid()) { | ||||
|   | ||||
| @@ -28,7 +28,8 @@ function photo_upload($channel, $observer, $args) { | ||||
| 		return $ret; | ||||
| 	} | ||||
|  | ||||
| //	call_hooks('photo_upload_begin', $args); | ||||
|  | ||||
| //call_hooks('photo_upload_begin', $args); | ||||
|  | ||||
| 	/* | ||||
| 	 * Determine the album to use | ||||
|   | ||||
		Reference in New Issue
	
	Block a user