Fixing style errors.
This commit is contained in:
parent
2f68ba1e2f
commit
10f286c454
@ -865,7 +865,7 @@ class Categorie extends CommonObject
|
|||||||
// Compatibility with actioncomm table which has id instead of rowid
|
// Compatibility with actioncomm table which has id instead of rowid
|
||||||
if ($this->MAP_OBJ_TABLE[$type] == "actioncomm" || $type == "actioncomm") {
|
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";
|
$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";
|
$sql .= " AND c.fk_".(empty($this->MAP_CAT_FK[$type]) ? $type : $this->MAP_CAT_FK[$type])." = o.rowid";
|
||||||
}
|
}
|
||||||
// Protection for external users
|
// Protection for external users
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user