Skip to content

Commit

Permalink
Merge pull request #12 from modmore/ticket-35434
Browse files Browse the repository at this point in the history
Fix fatal error on php8 when cleaning up records
  • Loading branch information
muzzwood authored Apr 14, 2023
2 parents 65dca0b + c39fc9c commit 5890375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/components/akismet/src/Akismet.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private function removeOldRecords()
'created_at:<' => $deleteBefore
]);
$this->modx->log(modX::LOG_LEVEL_INFO, '[Akismet] Cleaned up ' . $count
. ' spam analysis records from before ' . date('Y-m-d H:i:s', $deleteBefore));
. ' spam analysis records from before ' . $deleteBefore);
}
}
}
Expand Down

0 comments on commit 5890375

Please sign in to comment.