Opened 3 years ago

Closed 3 years ago

#1267 closed defect (duplicate)

New post notification not sent for anonymous user's post

Reported by: dimadin Owned by:
Priority: normal Milestone: 1.1
Component: Front-end Version: 1.1-alpha
Severity: normal Keywords:
Cc: tracs@…

Description

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.

Change History (3)

Nice catch

  • Milestone changed from 1.0.3 to 1.1
  • Version changed from 1.0.2 to 1.1-alpha
  • Resolution set to duplicate
  • Status changed from new to closed

Merging loginless feature tickets into one - #1244

Note: See TracTickets for help on using tickets.