Bug #685

Akismet "unmark" does not reduce number of "akismetstopped" field.

Added by Adrian Hayter about 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:01/18/2010
Priority:Normal Due date:
Assignee:Ryan Gordon % Done:

100%

Category:Akismet
Target version:1.4.12
Reproducibility:Always Database Type:MySQLi
Reported In MyBB Version:1.4.11 Database Version:MySQLi 5.0.32
PHP Version:5.2.0-8+etch16 SQA assignments:
Browser:

Description

When a non-spam post is stopped by Akismet, the "unmark" button makes it visible again. However instead of removing 1 from the value of the "akismetstopped" field in the database for the user who posted, it removes 1 from the administrator who issued the unmark command.

This is (I believe) caused by lines 911 through 916 of the akismet.php file, where 1 is deducted from $mybb->user['akismetstopped'], $mybb->user as I recall is the current logged in user.

Associated revisions

Revision 4754
Added by Ryan Gordon about 2 years ago

Fixes Akismet "unmark" does not reduce number of "akismetstopped" field. (fixes:685)

History

Updated by Matt Rogowski about 2 years ago

  • Assignee deleted (Ryan Gordon)
  • Target version deleted (1.4.12)

Please do not set target versions or assign bugs to people, it is not your position to tell a developer to fix a bug.

Updated by Adrian Hayter about 2 years ago

Sorry, was just trying to be helpful and fill out the form. Since the plugin was Ryan's I thought assigning it to him made sense. Cheers for the heads up.

Updated by Ryan Gordon about 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Ryan Gordon
  • Target version set to 1.4.12

Updated by Ryan Gordon about 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4754.

Updated by Stefan T. almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF