|
@@ -3875,7 +3875,7 @@ class BiAuditPowiazania {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
for ($i = 1; $i <= $parts; $i++) {
|
|
for ($i = 1; $i <= $parts; $i++) {
|
|
|
- if ($i != $resultsPart + 1) $this->items_results[$resultsPart][$xmlTask]['system_cache__dita:parts'][] = ['@attributes' => ['system_cache__dita:part' => $i]];
|
|
|
|
|
|
|
+ $this->items_results[$resultsPart][$xmlTask]['system_cache__dita:parts'][] = ['@attributes' => ['system_cache__dita:part' => $i]];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
foreach ($results as $key => $result) {
|
|
foreach ($results as $key => $result) {
|
|
@@ -3914,7 +3914,7 @@ class BiAuditPowiazania {
|
|
|
}
|
|
}
|
|
|
} elseif ($row['REMOTE_TABLE'] == 'TERYT_adresy') {
|
|
} elseif ($row['REMOTE_TABLE'] == 'TERYT_adresy') {
|
|
|
try {
|
|
try {
|
|
|
- $teryt = Teryt::getNames(['SYM' => $row['TERYT_SYM'], 'SYM_UL' => $row['TERYT_SYM_UL']]);
|
|
|
|
|
|
|
+ $teryt = Teryt::getNames(['SYM' => $obj->TERYT_SYM, 'SYM_UL' => $obj->TERYT_SYM_UL]);
|
|
|
$item_result[$row['REMOTE_TABLE']]['TERYT_names'] = $teryt;
|
|
$item_result[$row['REMOTE_TABLE']]['TERYT_names'] = $teryt;
|
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|
|
|
}
|
|
}
|