From d8c94814dc45b357ac5eddd5f8a6dc680e0d731f Mon Sep 17 00:00:00 2001 From: "Shamiso.Jaravaza" <33659194+ssj365@users.noreply.github.com> Date: Tue, 18 Jun 2024 13:33:15 -0600 Subject: [PATCH] CONTRIB-9601: Fix dismissed recording filter field --- classes/recording.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/recording.php b/classes/recording.php index d0454831..8365bd9d 100644 --- a/classes/recording.php +++ b/classes/recording.php @@ -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); }