Fixing style errors.

This commit is contained in:
stickler-ci 2023-04-25 13:04:59 +00:00
parent 2f68ba1e2f
commit 10f286c454

View File

@ -865,7 +865,7 @@ class Categorie extends CommonObject
// Compatibility with actioncomm table which has id instead of rowid
if ($this->MAP_OBJ_TABLE[$type] == "actioncomm" || $type == "actioncomm") {
$sql .= " AND c.fk_".(empty($this->MAP_CAT_FK[$type]) ? $type : $this->MAP_CAT_FK[$type])." = o.id";
}else {
} else {
$sql .= " AND c.fk_".(empty($this->MAP_CAT_FK[$type]) ? $type : $this->MAP_CAT_FK[$type])." = o.rowid";
}
// Protection for external users