Skip to content

Commit b4b6b5d

Browse files
committed
Fixes #11904, this merges a patch from Karl Newman to Fix "Default" button on upcoming recordings page
1 parent 1b3baf1 commit b4b6b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/tv/classes/Program.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ public function rec_never_record() {
640640
* Revert a show to its default recording schedule settings
641641
/**/
642642
public function rec_default() {
643-
$schedule =& Schedule::findAll($this->recordid);
643+
$schedule =& Schedule::find($this->recordid);
644644
if ($schedule && ($schedule->type == rectype_override || $schedule->type == rectype_dontrec))
645645
$schedule->delete();
646646
}

0 commit comments

Comments
 (0)