diff --git a/scripts/bug_feedback_mail_test.php b/scripts/bug_feedback_mail_test.php index 1ed0a04..68e7b35 100644 --- a/scripts/bug_feedback_mail_test.php +++ b/scripts/bug_feedback_mail_test.php @@ -26,7 +26,9 @@ $query .= " and bugs.project_id IN ". $t_rem_projects; } }else{ - $query .= " and bugs.project_id NOT IN ".$t_rem_projects; + if (!empty( config_get( 'plugin_Reminder_reminder_project_id' ) )) { + $query .= " and bugs.project_id NOT IN ".$t_rem_projects; + } } $query .= " order by reporter_id";