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); }