rendered paste bodyIndex: libs/libmythtv/channelutil.cpp
===================================================================
--- libs/libmythtv/channelutil.cpp (revision 9538)
+++ libs/libmythtv/channelutil.cpp (working copy)
@@ -166,7 +166,8 @@
if (set_odfm_info)
{
- query.bindValue(":INVERSION", QString("%1").arg(inversion));
+ if (inversion < 0 || inversion > 1 || inversion == "a")
+ query.bindValue(":INVERSION", QString("%1").arg(inversion));
query.bindValue(":BANDWIDTH", QString("%1").arg(bandwidth));
query.bindValue(":HP_CODE_RATE", hp_code_rate);
query.bindValue(":LP_CODE_RATE", lp_code_rate);