Skip to content

Commit

Permalink
🔨 Update EoN_Job_Exporter.php sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien1498 committed Dec 4, 2020
1 parent bc11cbb commit 135aa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/EoN_Job_Exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function insertAction($name, $type, $action, $parent_name=NULL, $parent_type=NUL
case "nagios_main_configuration":
case "nagios_cgi_configuration":
case "nagios_resource":
if(sql($database_lilac,"SELECT type FROM export_job_history WHERE type=?", array($type))->num_rows != null){
if(sql($database_lilac,"SELECT type FROM export_job_history WHERE type=?", array($type)) != null){
$insert = false;
}
}
Expand Down

0 comments on commit 135aa93

Please sign in to comment.