Skip to content

Commit

Permalink
Update bug_reminder_mail.php
Browse files Browse the repository at this point in the history
fixed a bug whit excluding projects
  • Loading branch information
CasN authored Apr 23, 2024
1 parent 14b28df commit a223d72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bug_reminder_mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@
// $query .=" and project_id=$t_rem_project" ;
// }

$t_rem_include = config_get('plugin_Reminder_reminder_include');
$t_rem_include = config_get( 'plugin_Reminder_reminder_include' );
$t_rem_projects = "(";
$t_rem_projects .= config_get('plugin_Reminder_reminder_project_id');
$t_rem_projects .= ")";
if (ON==$t_rem_include){
if ($t_rem_projects <>"0") {
if ( ON==$t_rem_include ){
if ( !empty( config_get( 'plugin_Reminder_reminder_project_id' ) ) ) {
$query .= " and bugs.project_id IN ". $t_rem_projects;
}
}else{
} else {
$query .= " and bugs.project_id NOT IN ".$t_rem_projects;
}

Expand Down

0 comments on commit a223d72

Please sign in to comment.