Fix phpcs

This commit is contained in:
Laurent Destailleur (aka Eldy)
2024-12-31 17:13:43 +01:00
parent c273495261
commit a0b6aa28a7

View File

@@ -3998,7 +3998,7 @@ abstract class CommonObject
$num = $this->db->num_rows($resql);
$i = 0;
while ($i < $num) {
$obj = $this->db->fetch_object($resql);
$obj = $this->db->fetch_object($resql);
if ($justsource || $justtarget) {
if ($justsource) {
$this->linkedObjectsIds[$obj->targettype][$obj->rowid] = $obj->fk_target;
@@ -4058,11 +4058,11 @@ abstract class CommonObject
$classpath = 'adherents/class';
$module = 'adherent';
} elseif ($objecttype == 'contact') {
$module = 'societe';
} elseif ($objecttype == 'action') {
$module = 'agenda';
$subelement = 'actionComm';
}
$module = 'societe';
} elseif ($objecttype == 'action') {
$module = 'agenda';
$subelement = 'actionComm';
}
// Set classfile
$classfile = strtolower($subelement);