mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-22 16:45:45 +01:00
2018-07-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDDeck' that threw a SQL error.
This commit is contained in:
@@ -17144,3 +17144,5 @@
|
|||||||
to be mal-formatted.
|
to be mal-formatted.
|
||||||
* Fixed a bug in rdcatch(1) that caused Record and Playout events
|
* Fixed a bug in rdcatch(1) that caused Record and Playout events
|
||||||
to be saved to the incorrect Location.
|
to be saved to the incorrect Location.
|
||||||
|
2018-07-17 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in 'RDDeck' that threw a SQL error.
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ QString RDDeck::switchOutputName() const
|
|||||||
sql=QString("select NAME from OUTPUTS where ")+
|
sql=QString("select NAME from OUTPUTS where ")+
|
||||||
"(STATION_NAME=\""+RDEscapeString(switchStation())+"\")&&"+
|
"(STATION_NAME=\""+RDEscapeString(switchStation())+"\")&&"+
|
||||||
QString().sprintf("(MATRIX=%d)&&",switchMatrix())+
|
QString().sprintf("(MATRIX=%d)&&",switchMatrix())+
|
||||||
QString().sprintf("NUMBER=%d)",switchOutput());
|
QString().sprintf("(NUMBER=%d)",switchOutput());
|
||||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||||
if(q->first()) {
|
if(q->first()) {
|
||||||
output_name=q->value(0).toString();
|
output_name=q->value(0).toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user