Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7939

Post Counter Incremented Regardless of Permissions with Queue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.4
    • 3.0.3
    • None
    • PHP Environment:
      Database:

      From the function approve_posts in mcp_queue.php:

      		// User post update (we do not care about topic or post, since user posts are strictly connected to posts
      		$user_posts_sql[$post_data['poster_id']] = (empty($user_posts_sql[$post_data['poster_id']])) ? 1 : $user_posts_sql[$post_data['poster_id']] + 1;


      There is no check for phpbb_posts.post_postcount nor a check for the f_postcount permission.

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

              Created:
              Updated:
              Resolved: