From 93546fc5890f7027aa95c70091183092a8872459 Mon Sep 17 00:00:00 2001
From: Karl Dietz <dekarl@mythtv.org>
Date: Tue, 19 Apr 2016 08:13:37 +0200
Subject: [PATCH 1/4] unbreak "don't record"
Refs #12713
---
modules/tv/classes/Program.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/tv/classes/Program.php b/modules/tv/classes/Program.php
index 57ce447..2389e05 100644
|
a
|
b
|
class Program extends MythBase {
|
| 629 | 629 | **/ |
| 630 | 630 | public function rec_never_record() { |
| 631 | 631 | global $db; |
| 632 | | $sh = $db->query('REPLACE INTO oldrecorded (chanid,starttime,endtime,title,subtitle,description,category,seriesid,programid,recordid,station,rectype,recstatus,duplicate) VALUES (' |
| | 632 | $sh = $db->query('REPLACE INTO oldrecorded (chanid,starttime,endtime,title,subtitle,description,season,episode,category,seriesid,programid,recordid,station,rectype,recstatus,duplicate) VALUES (' |
| 633 | 633 | .escape($this->chanid) .',' |
| 634 | 634 | .'NOW()' .',' |
| 635 | 635 | .'NOW()' .',' |
| 636 | 636 | .escape($this->title) .',' |
| 637 | 637 | .escape($this->subtitle) .',' |
| 638 | 638 | .escape($this->description) .',' |
| | 639 | .escape(isset($this->season) ? $this->season ? 0) .',' |
| | 640 | .escape(isset($this->episode) ? $this->episode ? 0) .',' |
| 639 | 641 | .escape($this->category) .',' |
| 640 | 642 | .escape($this->seriesid) .',' |
| 641 | 643 | .escape($this->programid) .',' |