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

Forum notification may not work...

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • Posting
    • None
    • PHP Environment:
      Database:

    Description

      includes/functions_posting.php --> function user_notification

      Maybe we receive a wrong result for the $sql_ignore_users

      SEARCH:

      	// Get banned User ID's
      	$sql = 'SELECT ban_userid
      		FROM ' . BANLIST_TABLE;

      BETTER:

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

      Reason:

      • Bans with ban_userid = 0 are email bans. A user_id 0 does not exists.
      • If a user is protected from bans it will have a ban_list entry with ban_exclude = 1

      Attachments

        Activity

          People

            Acyd Burn Meik Sievertsen [X] (Inactive)
            Dr.Death Dr.Death
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: