Skip to content

Commit

Permalink
CONTRIB-9601: Fix dismissed recording filter field
Browse files Browse the repository at this point in the history
  • Loading branch information
ssj365 committed Jun 18, 2024
1 parent 840bc68 commit d8c9481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/recording.php
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ protected static function fetch_records(array $selects, array $params): array {
// Filter out if no metadata was fetched.
if (!array_key_exists($recording->recordingid, $metadatas)) {
// Mark it as dismissed if it is older than 30 days.
if ($withindays > $recording->timecreated) {
if ($withindays > $recording->timemodified) {
$recording = new self(0, $recording, null);
$recording->set_status(self::RECORDING_STATUS_DISMISSED);
}
Expand Down

0 comments on commit d8c9481

Please sign in to comment.