Skip to content
Permalink
Browse files

Fixes #11904, this merges a patch from Karl Newman to Fix "Default" b…

…utton on upcoming recordings page
  • Loading branch information...
kormoc committed Aug 23, 2014
1 parent 1b3baf1 commit b4b6b5dc63689d7b68997b4feb534ddc3b6865a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/tv/classes/Program.php
@@ -640,7 +640,7 @@ public function rec_never_record() {
* Revert a show to its default recording schedule settings
/**/
public function rec_default() {
$schedule =& Schedule::findAll($this->recordid);
$schedule =& Schedule::find($this->recordid);
if ($schedule && ($schedule->type == rectype_override || $schedule->type == rectype_dontrec))
$schedule->delete();
}

0 comments on commit b4b6b5d

Please sign in to comment.
You can’t perform that action at this time.