|
|
@@ -2292,7 +2292,7 @@ class BiAuditPowiazania {
|
|
|
$resultSrc = DB::getPDO()->fetchAll($query);
|
|
|
if (!$resultSrc) self::throwException("Błąd danych - nie zdefinowano żadnego początkowego obiektu");
|
|
|
|
|
|
- if (count($resultSrc) >= count($resultDst)) {
|
|
|
+ if (count($resultSrc) <= count($resultDst)) {
|
|
|
$result = $resultSrc;
|
|
|
$this->endNodes = array_map('reset', $resultDst);
|
|
|
$this->query = "select ref.ID2 as ID, RELATION_ID from BI_audit_ALL_ref ref where ref.ID1";
|