Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10684

Function user_notification() prevents notifications for users with stale bans

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.10
    • 3.0.11-RC1
    • Posting
    • None

    Description

      Function user_notification() excludes banned users' ids from the list of users to be notified, but it doesn't take in account stale bans. This results in effect that users whose bans were expired but not deleted from the banlist table for the moment still won't get email notifications (includes/functions_posting.php, around line 1183):

      	// Get banned User ID's
      	$sql = 'SELECT ban_userid
      		FROM ' . BANLIST_TABLE . '
      		WHERE ban_userid <> 0
      			AND ban_exclude <> 1';

      Attachments

        Activity

          People

            rxu rxu
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: