Fix phpcs
This commit is contained in:
parent
ead519811c
commit
e41dfcbbb3
1 changed files with 6 additions and 6 deletions
|
|
@ -4011,7 +4011,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;
|
||||
|
|
@ -4071,11 +4071,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue