Fixed edit display threshold.

This commit is contained in:
flash 2023-09-06 11:32:13 +00:00
parent e81a032d75
commit cb6ef1e151

View file

@ -98,7 +98,7 @@ class ForumPostInfo {
if(self::$markAsEditedThreshold === null)
self::$markAsEditedThreshold = DateTime::now()->modify('-5 minutes');
return $this->getCreatedAt()->isMoreThanOrEqual(self::$markAsEditedThreshold);
return $this->getCreatedAt()->isLessThan(self::$markAsEditedThreshold);
}
public function isEdited(): bool {