Ticket #2745 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

options-discussion.php?action=retrospam produces php-warning

Reported by: Lars007 Assigned to: mdawaffe
Priority: low Milestone:
Component: Administration Version: 2.0.2
Severity: normal Keywords: classes.php foreach() has-patch commit
Cc:

Description

My options-discussion.php?action=retrospam produces the following php-warning:

Warning: Invalid argument supplied for foreach() in /home/www/web45/html/wp-includes/classes.php on line 822

I don't know whether this just appears or also affects the result of the checking routine.

Attachments

2745.diff (0.8 kB) - added by mdawaffe on 10/04/06 10:42:13.
maybe

Change History

10/04/06 10:42:13 changed by mdawaffe

  • attachment 2745.diff added.

maybe

10/04/06 10:44:05 changed by mdawaffe

  • keywords changed from classes.php foreach() to classes.php foreach() has-patch commit.
  • owner changed from anonymous to mdawaffe.
  • status changed from new to assigned.
  • milestone set to 2.0.5.

The attached might fix the problem. The only issue I saw could only be generated by running the retrospam utility when there are no comments in the DB.

Non-issue in trunk; retrospam is no more.

10/04/06 10:58:34 changed by markjaquith

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4328]) cast to array in retrospaminator. Props mdawaffe. fixes #2745

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted