Fix for bug #9
This commit is contained in:
parent
972c456fc5
commit
422ff8094a
@ -249,10 +249,11 @@ foreach ($objSS->getWorksheetIterator() as $wksht) {
|
|||||||
|
|
||||||
// increment the column indexes for notes, check contents, and missing PDI
|
// increment the column indexes for notes, check contents, and missing PDI
|
||||||
if (is_array($tgts) && count($tgts) > 1) {
|
if (is_array($tgts) && count($tgts) > 1) {
|
||||||
$idx['overall'] += count($tgts);
|
$increase = count($tgts) - 1;
|
||||||
$idx['consistent'] += count($tgts);
|
$idx['overall'] += $increase;
|
||||||
$idx['notes'] += count($tgts);
|
$idx['consistent'] += $increase;
|
||||||
$idx['check_contents'] += count($tgts);
|
$idx['notes'] += $increase;
|
||||||
|
$idx['check_contents'] += $increase;
|
||||||
}
|
}
|
||||||
elseif (empty($tgts)) {
|
elseif (empty($tgts)) {
|
||||||
$log->warning("Failed to identify targets in worksheet {$wksht->getTitle()}");
|
$log->warning("Failed to identify targets in worksheet {$wksht->getTitle()}");
|
||||||
|
Loading…
Reference in New Issue
Block a user