Skip to content

Commit eec2a2e

Browse files
committed
fix(form): fix malformed sql
Signed-off-by: Thierry Bugier <[email protected]>
1 parent adb70b3 commit eec2a2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inc/target_actor.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public function export($remove_uuid = false) {
236236
public function deleteObsoleteItems(CommonDBTM $container, array $exclude)
237237
{
238238
$keepCriteria = [
239-
self::$items_id => $container->getID(),
239+
static::$items_id => $container->getID(),
240240
];
241241
if (count($exclude) > 0) {
242242
$keepCriteria[] = ['NOT' => ['id' => $exclude]];

inc/targetbase.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ protected function showActorSettingsForType($actorType, array $actors) {
18211821
public function deleteObsoleteItems(CommonDBTM $container, array $exclude)
18221822
{
18231823
$keepCriteria = [
1824-
self::$items_id => $container->getID(),
1824+
static::$items_id => $container->getID(),
18251825
];
18261826
if (count($exclude) > 0) {
18271827
$keepCriteria[] = ['NOT' => ['id' => $exclude]];

0 commit comments

Comments
 (0)