Skip to content

Commit 19ff2d6

Browse files
authored
Fix item match (#70)
* Fix(Host): Fix item match process * adapt changelog
1 parent ee2dedf commit 19ff2d6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [UNRELEASED]
9+
10+
- Fix item match process
11+
812
## [1.1.1] - 2025-11-25
913

1014
### Fixed

src/Host.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,11 @@ public function searchItemMatch(int $id): bool
475475
'centreon_type' => 'host',
476476
]);
477477
$this->getFromDB($new_id);
478+
return true;
478479
}
479480
}
480481

481-
return true;
482+
return false;
482483

483484
} else {
484485

0 commit comments

Comments
 (0)