From addde584179442f55366cdbe256e962da20fe61f Mon Sep 17 00:00:00 2001 From: Cas Date: Tue, 23 Apr 2024 09:59:25 +0200 Subject: [PATCH] Update assigned_bugs.php --- scripts/assigned_bugs.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/assigned_bugs.php b/scripts/assigned_bugs.php index 3d49e37..1249787 100755 --- a/scripts/assigned_bugs.php +++ b/scripts/assigned_bugs.php @@ -35,8 +35,10 @@ if (!empty( config_get( 'plugin_Reminder_reminder_project_id' ) )) { $query .= " and bugs.project_id IN ". $t_rem_projects; } -}else{ - $query .= " and bugs.project_id NOT IN ".$t_rem_projects; +} else { + if (!empty( config_get( 'plugin_Reminder_reminder_project_id' ) )) { + $query .= " and bugs.project_id NOT IN ".$t_rem_projects; + } } $results = db_query( $query, array($t_resolved) );