From 10f286c4544b5b0ae868aa9e66e1c0883b295a4f Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Tue, 25 Apr 2023 13:04:59 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/categories/class/categorie.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index eb67dd0aae9..ae97601f910 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -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