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

Function user_notification() prevents notifications for users with stale bans

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.10
    • Fix Version/s: 3.0.11-RC1
    • Component/s: Posting
    • Labels:
      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';

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            rxu Ruslan Uzdenov
            Reporter:
            rxu Ruslan Uzdenov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development