Ticket #7785: networkcontrol-trunk.patch

File networkcontrol-trunk.patch, 573 bytes (added by randy.rossi@…, 10 years ago)
  • programs/mythfrontend/networkcontrol.cpp

     
    11591159    query.prepare(queryStr);
    11601160    query.bindValue(":START", QDateTime::currentDateTime());
    11611161    query.bindValue(":END", QDateTime::currentDateTime());
    1162     query.bindValue(":CHANID", chanID);
     1162    if (!chanID.isEmpty())
     1163    {
     1164        query.bindValue(":CHANID", chanID);
     1165    }
    11631166
    11641167    if (query.exec())
    11651168    {