New post notification not sent for anonymous user's post
|Reported by:||dimadin||Owned by:|
If anonymous user writes new post, users subscribed to that topic wont receive email notification.
Reason for this is that in function bb_notify_subscribers we have a check to see if we have a poster's ID.
if ( !$user = bb_get_user( $post->poster_id ) ) return false;
Since ID of anonymous user is 0, function stops execution.
If we remove this check, notification is sent but name of poster is missing from notification e-mail.