diff --git a/ChangeLog b/ChangeLog index 9b1de1bc..ad3726a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17068,3 +17068,6 @@ 2018-06-26 Fred Gleason * Added support for filepath wildcards to the JACK client command lines. +2018-06-26 Fred Gleason + * Fixed a bug in 'RDStation::remove()' where the 'AUDIO_INPUTS' + was failed to be purged of stale host entries. diff --git a/lib/rdstation.cpp b/lib/rdstation.cpp index be6850bc..4bc8db28 100644 --- a/lib/rdstation.cpp +++ b/lib/rdstation.cpp @@ -2053,7 +2053,7 @@ void RDStation::remove(const QString &name) q=new RDSqlQuery(sql); delete q; - sql=QString("delete from AUDIO_INPUT where ")+ + sql=QString("delete from AUDIO_INPUTS where ")+ "STATION_NAME=\""+RDEscapeString(name)+"\""; q=new RDSqlQuery(sql); delete q;