Fix for bug #9

This commit is contained in:
Ryan Prather 2018-09-11 16:51:23 -04:00
parent 972c456fc5
commit 422ff8094a

View File

@ -249,10 +249,11 @@ foreach ($objSS->getWorksheetIterator() as $wksht) {
// increment the column indexes for notes, check contents, and missing PDI
if (is_array($tgts) && count($tgts) > 1) {
$idx['overall'] += count($tgts);
$idx['consistent'] += count($tgts);
$idx['notes'] += count($tgts);
$idx['check_contents'] += count($tgts);
$increase = count($tgts) - 1;
$idx['overall'] += $increase;
$idx['consistent'] += $increase;
$idx['notes'] += $increase;
$idx['check_contents'] += $increase;
}
elseif (empty($tgts)) {
$log->warning("Failed to identify targets in worksheet {$wksht->getTitle()}");