From 2a6abaf9d54f7345e04db8b3fb5fe96eaa2a5c1d Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 5 Feb 2013 20:14:19 -0800 Subject: partial cleanup of mod/profile_photo - needs a LOT more --- include/photos.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/photos.php') diff --git a/include/photos.php b/include/photos.php index d4ddb8909..885d2f958 100644 --- a/include/photos.php +++ b/include/photos.php @@ -219,6 +219,7 @@ function photo_upload($channel, $observer, $args) { $ret['success'] = true; $ret['body'] = $arr['body']; + $ret['resource_id'] = $photo_hash; $ret['photoitem_id'] = $item_id; call_hooks('photo_post_end',$ret); -- cgit v1.2.3