In `bp_activity_user_can_delete()` check if `user_id` is set before comparing current user ID against it, to prevent a possible debug notice if empty `$activity` parameter is passed.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8784 cdf35c40-ae34-48e0-9cc9-0c9da1808c22