diff --git a/scripts/test.php b/scripts/test.php index be63a81..2f450e6 100644 --- a/scripts/test.php +++ b/scripts/test.php @@ -6,10 +6,10 @@ $t_rem_include = ON; $t_rem_projects = "(1,3)"; if (ON == $t_rem_include){ - if ($t_rem_projects <>"0") { + if (!empty( config_get( 'plugin_Reminder_reminder_project_id' ) )) { $query .= ' and project_id IN $t_rem_projects'; } }else{ $query .= 'and project_id NOT IN $t_rem_projects'; } -echo $query; \ No newline at end of file +echo $query;