[mythtv-commits] Ticket #12670: SQL error in MythWeb on updated 8.3: Incorrect integer value: for column 'finetune'
MythTV
noreply at mythtv.org
Thu Apr 21 12:03:05 UTC 2016
#12670: SQL error in MythWeb on updated 8.3: Incorrect integer value: for column
'finetune'
----------------------------------+-----------------------------
Reporter: vabiro@… | Owner: kormoc
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Comment (by charles.bovy@…):
quick patch:
{{{
--- a/modules/tv/set_channels.php 2016-04-18 15:45:13.148000000 +0200
+++ b/modules/tv/set_channels.php 2016-04-21 13:57:49.908000000
+0200
@@ -33,7 +33,7 @@
visible = ?';
$query_params[] = $data['xmltvid'];
$query_params[] = $data['freqid'];
- $query_params[] = $data['finetune'];
+ $query_params[] = empty($data['finetune']) ? 0 :
$data['finetune'];
$query_params[] = $data['videofilters'];
$query_params[] = $data['brightness'];
$query_params[] = $data['contrast'];
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12670#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list