Update target.class.php

This commit is contained in:
Frédéric FRANCE 2024-01-17 18:39:51 +01:00 committed by GitHub
parent 6ba594efd8
commit 5667349d1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -341,7 +341,7 @@ class Target extends CommonObject
{
$result = $this->fetchCommon($id, $ref);
if (empty($this->ref)) {
$this->ref = $this->id;
$this->ref = (string) $this->id;
}
return $result;