Avoid PHP notice when leaving activity comments in Activity Admin.

Fixes #5068

Props imath

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