2021-05-13 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdcastmanager(1) that generated a SQL error
	when run with a user with no authorized feeds.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-05-13 08:22:05 -04:00
parent 05315e8b54
commit c0b23e35bf
2 changed files with 4 additions and 1 deletions

View File

@ -21686,3 +21686,6 @@
'INSTALL'.
2021-05-12 Fred Gleason <fredg@paravelsystems.com>
* Added an 'Environmental Variables' entry for Ubuntu in 'INSTALL'.
2021-05-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcastmanager(1) that generated a SQL error
when run with a user with no authorized feeds.

View File

@ -418,7 +418,7 @@ void RDFeedListModel::changeUser()
{
QString sql;
RDSqlQuery *q=NULL;
QString filter_sql="where ";
QString filter_sql="where (`KEY_NAME` is null)||";
if(d_is_admin) {
sql=QString("select ")+