Commented out last INSERT in post_Processing
This commit is contained in:
Jeff Odegard 2018-11-03 16:02:08 -06:00 committed by GitHub
parent ebc5cc6a7e
commit 5b749f6844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@
* - Jun 2, 2018 - Formatting and added set_Setting_Array method * - Jun 2, 2018 - Formatting and added set_Setting_Array method
* - Jun 5, 2018 - Changed set_Setting_Array method to use SQL update instead of replace * - Jun 5, 2018 - Changed set_Setting_Array method to use SQL update instead of replace
* - Sep 5, 2018 - Fix for #8 * - Sep 5, 2018 - Fix for #8
* - Nov 3, 2018 - Fix for fix #62, commented out last INSERT in post_Processing, jao
*/ */
include_once 'base.inc'; include_once 'base.inc';
include_once 'software.inc'; include_once 'software.inc';
@ -11291,12 +11292,13 @@ class db
]); ]);
$this->help->execute(); $this->help->execute();
$this->help->sql = "INSERT IGNORE INTO findings (tgt_id,pdi_id,findings_status_id) " . # Commented out 3 Nov 18 to fix #62 - Jeff Odegard
"SELECT {$id},pcl.pdi_id,1 " . # $this->help->sql = "INSERT IGNORE INTO findings (tgt_id,pdi_id,findings_status_id) " .
"FROM target_checklist tc " . # "SELECT {$id},pcl.pdi_id,1 " .
"JOIN pdi_checklist_lookup pcl ON pcl.checklist_id = tc.chk_id " . # "FROM target_checklist tc " .
"WHERE tc.tgt_id = {$id}"; # "JOIN pdi_checklist_lookup pcl ON pcl.checklist_id = tc.chk_id " .
$this->help->execute(); # "WHERE tc.tgt_id = {$id}";
# $this->help->execute();
$this->update_Target_Counts($id); $this->update_Target_Counts($id);
} }