Ticket #7704: networkcontrol.patch

File networkcontrol.patch, 573 bytes (added by Randy Rossi <randy.rossi@…>, 10 years ago)

PATCH to networkcontrol.cpp

  • 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    {